Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Error on npm start #137

Closed
hackerkid opened this issue Jun 11, 2015 · 5 comments
Closed

Error on npm start #137

hackerkid opened this issue Jun 11, 2015 · 5 comments

Comments

@hackerkid
Copy link

[email protected] start /home/vishnu/code/friends
npm run build-css && electron index.js 2>&1 | silence-chromium

[email protected] build-css /home/vishnu/code/friends
mkdirp dist && stylus -u nib css/app.styl -o dist/ -c

sh: 1: mkdirp: not found
npm ERR! weird error 127
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

@bcomnes
Copy link
Contributor

bcomnes commented Jun 11, 2015

Did you npm install and rebuild leveldb?

@hackerkid
Copy link
Author

yes. I did both. I thought the error was due to the renaming of node to nodejs by debian so I installed the nodejs-legacy package in my ubunutu. It didn't change anything.

@ungoldman
Copy link
Member

@hackerkid weird! mkdirp should be getting discovered by npm as a binary in node_modules/.bin/ as long as npm install has been run. This may be an issue with how Debian and node are interacting... not sure how to debug from here. You can try installing mkdirp globally to see if it's a local discovery problem.

@hackerkid
Copy link
Author

@ngoldman It solved the issue. mkdirp must not have been installed properly before.

@ungoldman
Copy link
Member

@hackerkid you shouldn't need to install it globally -- if you run into the issue again let me know.

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

No branches or pull requests

3 participants