Closed Bug 1063482 Opened 10 years ago Closed 9 years ago

Clean up warnings during treeherder-ui npm install

Categories

(Tree Management :: Treeherder, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: emorley, Unassigned, Mentored)

References

Details

(Whiteboard: [good first bug][lang=js])

User Story

Thank you for helping out with Treeherder!

You can find us on IRC at irc://irc.mozilla.org/treeherder

Here's some links to help get you started.

Project page:
https://wiki.mozilla.org/Auto-tools/Projects/Treeherder

Interacting with us, repo locations and links to set up a development version of the software:
https://wiki.mozilla.org/Auto-tools/Projects/Treeherder#Contributing
https://wiki.mozilla.org/Auto-tools/Projects/Treeherder#Source_and_Docs

A-Team general reference, coding style guides:
http://ateam-bootcamp.readthedocs.org
[/c/src/treeherder/treeherder-ui]$ npm install npm WARN package.json treeherder-ui@ No repository field. npm WARN optional dep failed, continuing fsevents@0.2.1 - > ws@0.4.32 install c:\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws > (node-gyp rebuild 2> builderror.log) || (exit 0) c:\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i s installed elsewhere. [c:\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket. io-client\node_modules\ws\build\binding.sln] MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i s installed elsewhere. [c:\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket. io-client\node_modules\ws\build\binding.sln] karma-firefox-launcher@0.1.3 node_modules\karma-firefox-launcher grunt-contrib-copy@0.5.0 node_modules\grunt-contrib-copy karma-jasmine@0.1.5 node_modules\karma-jasmine karma-junit-reporter@0.2.2 node_modules\karma-junit-reporter └── xmlbuilder@0.4.2 grunt-contrib-clean@0.5.0 node_modules\grunt-contrib-clean └── rimraf@2.2.8 grunt-contrib-concat@0.4.0 node_modules\grunt-contrib-concat └── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1) karma-cli@0.0.4 node_modules\karma-cli └── resolve@0.5.1 grunt-filerev@0.2.1 node_modules\grunt-filerev ├── each-async@0.1.3 └── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1) grunt-usemin@2.1.1 node_modules\grunt-usemin ├── debug@0.7.4 └── lodash@1.0.1 karma-ng-scenario@0.1.0 node_modules\karma-ng-scenario grunt-contrib-cssmin@0.9.0 node_modules\grunt-contrib-cssmin ├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1) ├── clean-css@2.1.8 (commander@2.1.0) └── maxmin@0.1.0 (pretty-bytes@0.1.2, gzip-size@0.1.1) grunt-contrib-uglify@0.4.1 node_modules\grunt-contrib-uglify ├── chalk@0.4.0 (strip-ansi@0.1.1, has-color@0.1.7, ansi-styles@1.0.0) ├── maxmin@0.1.0 (pretty-bytes@0.1.2, gzip-size@0.1.1) └── uglify-js@2.4.15 (uglify-to-browserify@1.0.2, async@0.2.10, optimist@0.3.7, source-map@0.1.34) grunt@0.4.5 node_modules\grunt ├── dateformat@1.0.2-1.2.3 ├── which@1.0.5 ├── eventemitter2@0.4.14 ├── getobject@0.1.0 ├── colors@0.6.2 ├── async@0.1.22 ├── rimraf@2.2.8 ├── grunt-legacy-util@0.2.0 ├── hooker@0.2.3 ├── exit@0.1.2 ├── nopt@1.0.10 (abbrev@1.0.5) ├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3) ├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0) ├── lodash@0.9.2 ├── coffee-script@1.3.3 ├── underscore.string@2.2.1 ├── iconv-lite@0.2.11 ├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1) ├── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.15) └── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1) karma@0.12.23 node_modules\karma ├── di@0.0.1 ├── graceful-fs@2.0.3 ├── colors@0.6.2 ├── rimraf@2.2.8 ├── mime@1.2.11 ├── q@0.9.7 ├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0) ├── optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.10) ├── chokidar@0.8.4 (recursive-readdir@0.0.2) ├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0) ├── source-map@0.1.38 (amdefine@0.1.0) ├── log4js@0.6.20 (semver@1.1.4, readable-stream@1.0.31, async@0.1.15) ├── http-proxy@0.10.4 (pkginfo@0.3.0, utile@0.2.1) ├── lodash@2.4.1 ├── useragent@2.0.9 (lru-cache@2.2.4) ├── connect@2.12.0 (uid2@0.0.3, methods@0.1.0, pause@0.0.1, cookie-signature@1.0.1, debug@0.8.1, fresh@0.2.0, qs@0.6.6, bytes@0.2.1, buffer-crc32@0.2.1, raw-body@1.1.2, batch@0.5.0, cookie@0.1.0, negotiator@0.3.0, send@0.1.4, multiparty@2.2.0) └── socket.io@0.9.17 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.16) karma-coverage@0.2.6 node_modules\karma-coverage ├── dateformat@1.0.8-1.2.3 ├── minimatch@0.3.0 (sigmund@1.0.0, lru-cache@2.5.0) ├── istanbul@0.3.2 (once@1.3.0, abbrev@1.0.5, which@1.0.5, nopt@3.0.1, wordwrap@0.0.2, async@0.9.0, mkdirp@0.5.0, resolve@0.7.4, fileset@0.1.5, esprima@1.2.2, escodegen@1.3.3, handlebars@1.3.0, js-yaml@3.2.1) └── ibrik@1.1.1 (which@1.0.5, estraverse@1.5.1, mkdirp@0.3.5, optimist@0.6.1, escodegen@1.1.0, lodash@2.4.1, coffee-script-redux@2.0.0-beta8, istanbul@0.2.16)
Depends on: 1063483
Blocks: 1072681
No longer blocks: 1072681
Component: Treeherder → Treeherder: Docs & Development
[~/src/treeherder/treeherder-ui]$ npm install npm WARN optional dep failed, continuing fsevents@0.3.4 \ > ws@0.4.32 install C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws > (node-gyp rebuild 2> builderror.log) || (exit 0) C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>node "C:\Users\Ed\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. bufferutil.cc C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_m odules\ws\node_modules\nan\nan.h(1103): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible los s of data [C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-cl ient\node_modules\ws\build\bufferutil.vcxproj] C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_m odules\ws\node_modules\nan\nan.h(1117): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible los s of data [C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-cl ient\node_modules\ws\build\bufferutil.vcxproj] C:\Users\Ed\.node-gyp\0.10.33\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persiste nt<v8::Object> v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)' [C:\Users\Ed\src\treeherder\treeherder-ui\node_ modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj] Creating library C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\s ocket.io-client\node_modules\ws\build\Release\bufferutil.lib and object C:\Users\Ed\src\treeherder\treeherder-ui\node _modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\bufferutil.exp Generating code Finished generating code bufferutil.vcxproj -> C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules \socket.io-client\node_modules\ws\build\Release\\bufferutil.node validation.cc C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_m odules\ws\node_modules\nan\nan.h(1103): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible los s of data [C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-cl ient\node_modules\ws\build\validation.vcxproj] C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_m odules\ws\node_modules\nan\nan.h(1117): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible los s of data [C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\socket.io-cl ient\node_modules\ws\build\validation.vcxproj] C:\Users\Ed\.node-gyp\0.10.33\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persiste nt<v8::Object> v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)' [C:\Users\Ed\src\treeherder\treeherder-ui\node_ modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.vcxproj] Creating library C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules\s ocket.io-client\node_modules\ws\build\Release\validation.lib and object C:\Users\Ed\src\treeherder\treeherder-ui\node _modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\validation.exp Generating code Finished generating code validation.vcxproj -> C:\Users\Ed\src\treeherder\treeherder-ui\node_modules\karma\node_modules\socket.io\node_modules \socket.io-client\node_modules\ws\build\Release\\validation.node karma-firefox-launcher@0.1.4 node_modules\karma-firefox-launcher grunt-contrib-copy@0.5.0 node_modules\grunt-contrib-copy ...
Priority: P3 → P4
Not sure if this bug will be addressed by the planned -ui and -server repo merge, but putting up as a good first bug for now.
Mentor: emorley
User Story: (updated)
Whiteboard: [good first bug]
Whiteboard: [good first bug] → [good first bug][lang=js]
User Story: (updated)
These other warnings are expected from what I can tell - and the "no repository" warning was fixed by bug 1063483.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Component: Treeherder: Docs & Development → TreeHerder
You need to log in before you can comment on or make changes to this bug.