Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install - erro #14

Closed
tjoozey opened this issue Nov 27, 2012 · 7 comments
Closed

npm install - erro #14

tjoozey opened this issue Nov 27, 2012 · 7 comments
Labels

Comments

@tjoozey
Copy link

tjoozey commented Nov 27, 2012

MEMO -

|ruby-1.9.3-p194| Tylers-MacBook-Pro in ~/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
± |master ✗| → npm install -g grunt
npm http GET https://registry.npmjs.org/grunt
npm http 200 https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/grunt/-/grunt-0.3.17.tgz
npm http 200 https://registry.npmjs.org/grunt/-/grunt-0.3.17.tgz
npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt'
npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules/grunt',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/local/lib/node_modules/grunt',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ 'DirWriter._create (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23)',
npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53',
npm ERR! 'Object.oncomplete (fs.js:297:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 12.2.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "grunt"
npm ERR! cwd /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path /usr/local/lib/node_modules/grunt
npm ERR! fstream_path /usr/local/lib/node_modules/grunt
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt'
npm ERR! fstream_stack DirWriter._create (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23)
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:297:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/npm-debug.log
npm ERR! not ok code 0

./////////////////////////////

please elaborate - mac osx install - need to integrate to bootstrap

////////////////////

@vitalets
Copy link
Owner

hi, please have a look on the same issue
gruntjs/grunt#351

looks like you just need to run it under sudo...
hope this helps!

@tjoozey
Copy link
Author

tjoozey commented Nov 27, 2012

|ruby-1.9.3-p194| Tylers-MacBook-Pro in ~/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
± |master ✗| → sudo npm install
Password:
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Darwin 12.2.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/npm-debug.log
npm ERR! not ok code 0

|ruby-1.9.3-p194| Tylers-MacBook-Pro in ~/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
± |master ✗| → npm install
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Darwin 12.2.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 12.2.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/npm-debug.log
npm ERR! not ok code 0

Tyler Johnson
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Tuesday, November 27, 2012 at 7:31 AM, Vitaliy Potapov wrote:

hi, please have a look on the same issue
gruntjs/grunt#351 (gruntjs/grunt#351)
looks like you just need to run it under sudo...
hope this helps!


Reply to this email directly or view it on GitHub (#14 (comment)).

@vitalets
Copy link
Owner

have you installed grunt (globally) by sudo npm install -g grunt ?

@tjoozey
Copy link
Author

tjoozey commented Nov 27, 2012

yes.


From: Vitaliy Potapov notifications@github.com
To: vitalets/x-editable x-editable@noreply.github.com
Cc: tyler johnson tjohnson51503@att.net
Sent: Tue, November 27, 2012 12:56:20 PM
Subject: Re: [x-editable] npm install - erro (#14)

have you installed grunt (globally) by sudo npm install -g grunt ?

Reply to this email directly or view it on GitHub.

@vitalets
Copy link
Owner

maybe typo in package.json.. please post here contents of
/Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/package.json

@tjoozey
Copy link
Author

tjoozey commented Nov 27, 2012

there is no file. by that name.


From: Vitaliy Potapov notifications@github.com
To: vitalets/x-editable x-editable@noreply.github.com
Cc: tyler johnson tjohnson51503@att.net
Sent: Tue, November 27, 2012 1:26:58 PM
Subject: Re: [x-editable] npm install - erro (#14)

maybe typo in package.json.. please post here contents of
/Users/tyler/Desktop/code/phpfog/affiliaterockstar.phpfogapp.com/edit/package.json


Reply to this email directly or view it on GitHub.

@vitalets
Copy link
Owner

what's why npm cannot install. You should run npm install in directory with package.json file. For that you should git clone x-editable first.

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

No branches or pull requests

2 participants