From test, 7 Years ago, written in Bash.
- view diff
Embed
  1. npm ERR! Refusing to delete: /usr/local/bin/grunt not in /usr/local/lib/node_modules/grunt-cli
  2. File exists: /usr/local/bin/grunt
  3. Move it away, and try again.
  4.  
  5. npm ERR! System Linux 3.16.0-4-amd64
  6. npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "grunt" "grunt-cli" "bower"
  7. npm ERR! cwd /usr/src/freeswitch-1.6.12/html5/verto/verto_communicator
  8. npm ERR! node -v v0.10.29
  9. npm ERR! npm -v 1.4.21
  10. npm ERR! path /usr/local/bin/grunt
  11. npm ERR! code EEXIST
  12. /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt/bin/grunt
  13. /usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
  14. npm ERR!
  15. npm ERR! Additional logging details can be found in:
  16. npm ERR!     /usr/src/freeswitch-1.6.12/html5/verto/verto_communicator/npm-debug.log
  17. npm ERR! not ok code 0
  18.  
  19. module.js:340
  20.     throw err;
  21.           ^
  22. Error: Cannot find module 'grunt-cli/bin/grunt'
  23.     at Function.Module._resolveFilename (module.js:338:15)
  24.     at Function.Module._load (module.js:280:25)
  25.     at Module.require (module.js:364:17)
  26.     at require (module.js:380:17)
  27.     at Object.<anonymous> (/usr/local/lib/node_modules/grunt/bin/grunt:3:1)
  28.     at Module._compile (module.js:456:26)
  29.     at Object.Module._extensions..js (module.js:474:10)
  30.     at Module.load (module.js:356:32)
  31.     at Function.Module._load (module.js:312:12)
  32.     at Function.Module.runMain (module.js:497:10)
  33.