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

Error in installing MEAN.io in Ubuntu14.04 #77

Open
ghost opened this issue Oct 17, 2015 · 2 comments
Open

Error in installing MEAN.io in Ubuntu14.04 #77

ghost opened this issue Oct 17, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 17, 2015

:~$ sudo npm install -g meanio@latest
/

[email protected] postinstall /usr/lib/node_modules/meanio/node_modules/mean-health
node ./postinstall.js

npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"0.10.37","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.37","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.37","npm":"1.4.28"})

npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.37","npm":"1.4.28"})

[email protected] postinstall /usr/lib/node_modules/meanio
cd ./lib/core_modules/server && npm install && cd ../../..

npm ERR! Error: Attempt to unlock ., which hasn't been locked
npm ERR! at unlock (/usr/lib/node_modules/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/lib/node_modules/npm/lib/cache/add-local.js:30:5)
npm ERR! at /usr/lib/node_modules/npm/lib/cache/add-local.js:47:20
npm ERR! at /usr/lib/node_modules/npm/lib/utils/locker.js:22:20
npm ERR! at /usr/lib/node_modules/npm/node_modules/inflight/inflight.js:22:7
npm ERR! at Array.forEach (native)
npm ERR! at res (/usr/lib/node_modules/npm/node_modules/inflight/inflight.js:21:9)
npm ERR! at f (/usr/lib/node_modules/npm/node_modules/once/once.js:16:25)
npm ERR! at afterMkdir (/usr/lib/node_modules/npm/lib/cache/get-stat.js:53:14)
npm ERR! at /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53
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 Linux 3.13.0-65-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /usr/lib/node_modules/meanio/lib/core_modules/server
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/lib/node_modules/meanio/lib/core_modules/server/npm-debug.log
npm ERR! not ok code 0

npm ERR! [email protected] postinstall: cd ./lib/core_modules/server && npm install && cd ../../..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the meanio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd ./lib/core_modules/server && npm install && cd ../../..
npm ERR! You can get their info via:
npm ERR! npm owner ls meanio
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-65-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "meanio@latest"
npm ERR! cwd /home/minerva
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

@ghost
Copy link
Author

ghost commented Oct 17, 2015

Tried a couple of times, still same result. No luck with "sudo npm install -g mean-cli" either. Help, please ?

@liorkesos
Copy link
Member

Paste the sudo npm install -g mean-cli
On Oct 17, 2015 10:10, "Keerthana Krishnan" [email protected]
wrote:

Tried a couple of times, still same result. No luck with "sudo npm install
-g mean-cli" either. Help, please ?


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

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

No branches or pull requests

1 participant