![]() I was able to finally solve this issue by digging through the post located here: bin directory of node_modules.Īs it stands, I'm of the impression this issue is not resolved and has no universally acceptable workaround :( This is also an instance where -no-bin-links causes an issue as the library cannot be executed if it's not linked in the. ![]() I've actually come across an instance (trying to install nodemon) where modifying the npm cache does not work. I can also confirm that suggestion to move the npm cache directory also works ( npm config set cache /tmp/.npm-cache), though I imagine this may have unexpected behavior if you try to use npm from the host machine? This issue still exists in 4.1.1 suggestion to use -no-bin-links does indeed seem to work, though I'm not sure I know what potential side-effects this has? I assume it does something that would differentiate the install from a standard one. Npm ERR! command "node" "/usr/local/bin/npm" "install" "jade" Npm ERR! at ChildProcess.onexit (child_process.js:192:12) Npm ERR! at ChildProcess.emit (events.js:67:17) (/usr/local/lib/node_modules/npm/lib/utils/exec.js:85:8) Npm ERR! Error: Failed tar "-mvxpf" "-" "-no-same-owner" "-C" "/media/sf_Projects/Personal/chatty/node_modules/_jade.npm" Npm ERR! error installing at ChildProcess.onexit (child_process.js:192:12) Npm ERR! error installing at ChildProcess.emit (events.js:67:17) Npm ERR! error installing at ChildProcess. Npm ERR! error installing Error: Failed tar "-mvxpf" "-" "-no-same-owner" "-C" "/media/sf_Projects/Personal/chatty/node_modules/_jade.npm" ![]() Npm ERR! Failed unpacking /home/david/.npm/jade/0.11.0/package.tgz Npm ERR! tar "-mvxpf" "-" "-no-same-owner" "-C" "/media/sf_Projects/Personal/chatty/node_modules/_jade.npm" Npm ERR! tar "-mvxpf" "-" "-no-same-owner" "-C" "/media/sf_Projects/Personal/chatty/node_modules/_jade.npm" tar: Exiting with failure status due to previous errors Npm ERR! tar "-mvxpf" "-" "-no-same-owner" "-C" "/media/sf_Projects/Personal/chatty/node_modules/_jade.npm" tar: package/lib/index.js: Cannot create symlink to `jade.js': Protocol error
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |