Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. [MacBook-Pro:mycode hc-101$ npm run serve
  2. npm ERR! path /Users/hc-101/package.json
  3. npm ERR! code ENOENT
  4. npm ERR! errno -2
  5. npm ERR! syscall open
  6. npm ERR! enoent ENOENT: no such file or directory, open '/Users/hc-101/package.json'
  7. npm ERR! enoent This is related to npm not being able to find a file.
  8. npm ERR! enoent
  9.  
  10. npm ERR! A complete log of this run can be found in:
  11. npm ERR! /Users/hc-101/.npm/_logs/2019-08-21T09_47_19_686Z-debug.log
  12.  
  13. MacBook-Pro:mycode hc-101$ sudo npm install -g @vue/cli
  14. Password:
  15. /usr/local/bin/vue -> /usr/local/lib/node_modules/@vue/cli/bin/vue.js
  16. + @vue/cli@3.10.0
  17. updated 1 package in 97.759s
  18. MacBook-Pro:mycode hc-101$ npm run serve
  19. npm ERR! path /Users/hc-101/package.json
  20. npm ERR! code ENOENT
  21. npm ERR! errno -2
  22. npm ERR! syscall open
  23. npm ERR! enoent ENOENT: no such file or directory, open '/Users/hc-101/package.json'
  24. npm ERR! enoent This is related to npm not being able to find a file.
  25. npm ERR! enoent
  26.  
  27. npm ERR! A complete log of this run can be found in:
  28. npm ERR! /Users/hc-101/.npm/_logs/2019-08-21T09_47_19_686Z-debug.log
  29.  
  30. [MacBook-Pro:mycode hc-101$ cat /Users/hc-101/.npm/_logs/2019-08-21T09_47_19_686Z-debug.log
  31. 0 info it worked if it ends with ok
  32. 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'serve' ]
  33. 2 info using npm@6.9.0
  34. 3 info using node@v10.16.3
  35. 4 verbose config Skipping project config: /Users/hc-101/.npmrc. (matches userconfig)
  36. 5 verbose stack Error: ENOENT: no such file or directory, open '/Users/hc-101/package.json'
  37. 6 verbose cwd /Users/hc-101/Desktop/mycode
  38. 7 verbose Darwin 18.6.0
  39. 8 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "serve"
  40. 9 verbose node v10.16.3
  41. 10 verbose npm v6.9.0
  42. 11 error path /Users/hc-101/package.json
  43. 12 error code ENOENT
  44. 13 error errno -2
  45. 14 error syscall open
  46. 15 error enoent ENOENT: no such file or directory, open '/Users/hc-101/package.json'
  47. 16 error enoent This is related to npm not being able to find a file.
  48. 17 verbose exit [ -2, true ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement