node.js - eclipse orion with npm -
i tried install eclipse orion of npm following command:
$ export node_modules=/home/x/apps/node_modules $ npm install --prefix /home/x/apps/node_modules orion ... > ws@0.4.27 install /home/x/apps/node_modules/orion/node_modules/socket.io-client/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.6.tgz make: entering directory `/home/x/apps/node_modules/orion/node_modules/socket.io-client/node_modules/ws/build' cxx(target) release/obj.target/bufferutil/src/bufferutil.o solink_module(target) release/obj.target/bufferutil.node solink_module(target) release/obj.target/bufferutil.node: finished copy release/bufferutil.node cxx(target) release/obj.target/validation/src/validation.o solink_module(target) release/obj.target/validation.node solink_module(target) release/obj.target/validation.node: finished copy release/validation.node make: leaving directory `/home/x/apps/node_modules/orion/node_modules/socket.io-client/node_modules/ws/build' orion@0.0.20 apps/node_modules/orion ├── deferred-fs@0.1.0 ├── sax@0.4.3 ├── rimraf@2.1.4 (graceful-fs@1.2.3) ├── connect@2.4.6 (fresh@0.1.0, pause@0.0.1, bytes@0.1.0, cookie@0.0.4, crc@0.2.0, debug@0.7.2, formidable@1.0.11, qs@0.5.1, send@0.0.4) ├── node-inspector@0.2.0-beta4 (async@0.2.6, connect@2.7.3) └── socket.io-client@0.9.16 (xmlhttprequest@1.4.2, uglify-js@1.2.5, active-x-obfuscator@0.0.1, ws@0.4.27)
however, not able start orion following command:
$ npm start orion npm err! error: enoent, open '/home/x/node_modules/orion/package.json' npm err! if need help, may report log at: npm err! <http://github.com/isaacs/npm/issues> npm err! or email to: npm err! <npm-@googlegroups.com> npm err! system linux 3.9.0-sabayon npm err! command "/usr/bin/node" "/usr/bin/npm" "start" "orion" npm err! cwd /home/x npm err! node -v v0.10.13 npm err! npm -v 1.3.2 npm err! path /home/x/node_modules/orion/package.json npm err! code enoent npm err! errno 34 npm err! npm err! additional logging details can found in: npm err! /home/x/npm-debug.log npm err! not ok code 0 0 info worked if ends ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start', 'orion' ] 2 info using npm@1.3.2 3 info using node@v0.10.13 4 error error: enoent, open '/home/x/node_modules/orion/package.json' 5 error if need help, may report log at: 5 error <http://github.com/isaacs/npm/issues> 5 error or email to: 5 error <npm-@googlegroups.com> 6 error system linux 3.9.0-sabayon 7 error command "/usr/bin/node" "/usr/bin/npm" "start" "orion" 8 error cwd /home/x 9 error node -v v0.10.13 10 error npm -v 1.3.2 11 error path /home/x/node_modules/orion/package.json 12 error code enoent 13 error errno 34 14 verbose exit [ 34, true ]
what did wrong?
solution: npm start --prefix /home/x/apps/node_modules orion
Comments
Post a Comment