Open justinyueh opened 10 years ago
osorehoutekiAir:mobifyjs felix$ git branch
can anybody help me, thanks
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.
osorehoutekiAir:mobifyjs felix$ npm install
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 hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"}) npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"}) npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.31","npm":"1.4.23"}) npm WARN engine boom@0.3.8: 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