Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

npm ERROR #280

Open
justinyueh opened this issue Sep 3, 2014 · 2 comments
Open

npm ERROR #280

justinyueh opened this issue Sep 3, 2014 · 2 comments

Comments

@justinyueh
Copy link

osorehoutekiAir:mobifyjs felix$ npm install

[email protected] install /Users/felix/Documents/mobifyjs/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs
node install.js

Download already available at /var/folders/dl/jlx90mtx50dgtn0272tqflp80000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip
Extracting zip contents
Copying extracted folder /var/folders/dl/jlx90mtx50dgtn0272tqflp80000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip-extract-1409727313138/phantomjs-1.9.7-macosx -> /Users/felix/Documents/mobifyjs/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /Users/felix/Documents/mobifyjs/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"})
npm ERR! Error: ENOENT, lstat '/Users/felix/Documents/mobifyjs/node_modules/grunt-browserify/node_modules/browserify/node_modules/browserify-zlib/node_modules/pako/test/fixtures/samples/lorem_cat.jpeg'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/felix/Documents/mobifyjs
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /Users/felix/Documents/mobifyjs/node_modules/grunt-browserify/node_modules/browserify/node_modules/browserify-zlib/node_modules/pako/test/fixtures/samples/lorem_cat.jpeg
npm ERR! fstream_path /Users/felix/Documents/mobifyjs/node_modules/grunt-browserify/node_modules/browserify/node_modules/browserify-zlib/node_modules/pako/test/fixtures/samples/lorem_cat.jpeg
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15)
npm ERR! Error: EACCES, mkdir '/Users/felix/.npm/esutils/1.0.0'
npm ERR! { [Error: EACCES, mkdir '/Users/felix/.npm/esutils/1.0.0']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users/felix/.npm/esutils/1.0.0',
npm ERR! parent: 'escodegen' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/felix/Documents/mobifyjs
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /Users/felix/.npm/esutils/1.0.0
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/Users/felix/.npm/esutils/1.0.0'
npm ERR! Error: ENOENT, lstat '/Users/felix/Documents/mobifyjs/node_modules/grunt-browserify/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-fb/esprima.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/felix/Documents/mobifyjs
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /Users/felix/Documents/mobifyjs/node_modules/grunt-browserify/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-fb/esprima.js
npm ERR! fstream_path /Users/felix/Documents/mobifyjs/node_modules/grunt-browserify/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-fb/esprima.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/felix/Documents/mobifyjs/npm-debug.log
npm ERR! not ok code 0

@justinyueh
Copy link
Author

osorehoutekiAir:mobifyjs felix$ git branch

  • v2.0

can anybody help me, thanks

@jansepar
Copy link
Contributor

jansepar commented Sep 3, 2014

Looks like you might be having some permissions issues with installing. Is there a reason you are wanting to run npm install from within mobify.js v2.0? The only time we typically do this is when bringing the library in as a dependancy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants