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 失败(no-bin-links) #2

Open
HAAAAADION opened this issue Jun 20, 2016 · 0 comments
Open

npm install 失败(no-bin-links) #2

HAAAAADION opened this issue Jun 20, 2016 · 0 comments

Comments

@HAAAAADION
Copy link
Owner

npm install node-jsx --save-dev

错误信息:

npm WARN EPACKAGEJSON nodejs@1.0.0 No repository field.
npm ERR! Linux 2.6.32-431.el6.i686
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-jsx" "--save-dev"
npm ERR! node v5.4.0
npm ERR! npm  v3.3.12
npm ERR! path ../acorn/bin/acorn
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! syscall symlink

npm ERR! EPROTO: protocol error, symlink '../acorn/bin/acorn' -> '/home/luoo/asd/node_modules/.bin/acorn'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Linux 2.6.32-431.el6.i686
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-jsx" "--save-dev"
npm ERR! node v5.4.0
npm ERR! npm  v3.3.12
npm ERR! path npm-debug.log.3a99b40993ded0f99040c95233b90c64
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename

npm ERR! ETXTBSY: text file is busy, rename 'npm-debug.log.3a99b40993ded0f99040c95233b90c64' -> 'npm-debug.log'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/luoo/asd/npm-debug.log

可以使用--no-bin-links
npm install node-jsx --no-bin-links
bin-links from NPM docs:

Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems.

@HAAAAADION HAAAAADION changed the title npm install 失败 npm install 失败(no-bin-links) Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant