Errors in 2.12 when running npm install

a guest Dec 4th, 2017 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
  2. const Hoek = require('hoek');
  3. ^^^^^
  4. SyntaxError: Use of const in strict mode.
  5.     at Module._compile (module.js:439:25)
  6.     at Object.Module._extensions..js (module.js:474:10)
  7.     at Module.load (module.js:356:32)
  8.     at Function.Module._load (module.js:312:12)
  9.     at Module.require (module.js:364:17)
  10.     at require (module.js:380:17)
  11.     at Object.<anonymous> (/home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk/lib/index.js:5:33)
  12.     at Module._compile (module.js:456:26)
  13.     at Object.Module._extensions..js (module.js:474:10)
  14.     at Module.load (module.js:356:32)
  15. npm WARN This failure might be due to the use of legacy binary "node"
  16. npm WARN For further explanations, please read
  17. /usr/share/doc/nodejs/README.Debian
  19. npm ERR! weird error 8
  20. npm ERR! Error: ENOENT, lstat '/home/opensrf/tmp/npm-895-PP69LJxt/1512416361853-0.8950603445991874/package/node_modules/jodid25519/jsdoc.json'
  21. npm ERR! If you need help, you may report this log at:
  22. npm ERR!     <>
  23. npm ERR! or email it to:
  24. npm ERR!     <>
  26. npm ERR! System Linux 3.13.0-135-generic
  27. npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
  28. npm ERR! cwd /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff
  29. npm ERR! node -v v0.10.25
  30. npm ERR! npm -v 1.3.10
  31. npm ERR! path /home/opensrf/tmp/npm-895-PP69LJxt/1512416361853-0.8950603445991874/package/node_modules/jodid25519/jsdoc.json
  32. npm ERR! fstream_path /home/opensrf/tmp/npm-895-PP69LJxt/1512416361853-0.8950603445991874/package/node_modules/jodid25519/jsdoc.json
  33. npm ERR! fstream_type File
  34. npm ERR! fstream_class FileWriter
  35. npm ERR! code ENOENT
  36. npm ERR! errno 34
  37. npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
  38. npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand