Advertisement
alaminh

npm problem

Feb 8th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. ah@debian9:~$ npm install --global pure-prompt
  2. npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/1627/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executedwith.
  3.  
  4. > pure-prompt@1.9.0 postinstall /home/ah/.npm-global/lib/node_modules/pure-prompt
  5. > PURE_DEST=/usr/local/share/zsh/site-functions npm run --silent postinstall-link && exit 0; PURE_DEST="$PWD/functions" npm run postinstall-link && npm run postinstall-fail-instructions
  6.  
  7. ln: failed to create symbolic link '/usr/local/share/zsh/site-functions/prompt_pure_setup': Permission denied
  8. npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/1627/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executedwith.
  9.  
  10. > pure-prompt@1.9.0 postinstall-link /home/ah/.npm-global/lib/node_modules/pure-prompt
  11. > mkdir -p "$PURE_DEST" && ln -sf "$PWD/pure.zsh" "$PURE_DEST/prompt_pure_setup" && ln -sf "$PWD/async.zsh" "$PURE_DEST/async"
  12.  
  13. npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/1627/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executedwith.
  14.  
  15. > pure-prompt@1.9.0 postinstall-fail-instructions /home/ah/.npm-global/lib/node_modules/pure-prompt
  16. > echo "ERROR: Could not automagically symlink the prompt. Either:\n1. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually\n2. Or add the following to your \`.zshrc\`:\n\n fpath+=('$PWD/functions')"
  17.  
  18. ERROR: Could not automagically symlink the prompt. Either:
  19. 1. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually
  20. 2. Or add the following to your `.zshrc`:
  21.  
  22. fpath+=('/home/ah/.npm-global/lib/node_modules/pure-prompt/functions')
  23. + pure-prompt@1.9.0
  24. added 1 package from 1 contributor in 3.685s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement