Guest User

Untitled

a guest
Oct 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. > npm i npm -g
  2.  
  3. added 290 packages, removed 250 packages and updated 37 packages in 38.815s
  4. ╭─────────────────────────────────────╮
  5. │ │
  6. │ Update available 5.0.0 → 6.4.1 │
  7. │ Run npm i -g npm to update │
  8. │ │
  9. ╰─────────────────────────────────────╯
  10.  
  11. let notifier = require('update-notifier')({pkg})
  12. ^^^
  13.  
  14. SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
  15. at exports.runInThisContext (vm.js:53:16)
  16. at Module._compile (module.js:373:25)
  17. at Object.Module._extensions..js (module.js:416:10)
  18. at Module.load (module.js:343:32)
  19. at Function.Module._load (module.js:300:12)
  20. at Function.Module.runMain (module.js:441:10)
  21. at startup (node.js:139:18)
  22. at node.js:974:3
Add Comment
Please, Sign In to add comment