Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [MacBook-Pro:mycode hc-101$ npm run serve
- npm ERR! path /Users/hc-101/package.json
- npm ERR! code ENOENT
- npm ERR! errno -2
- npm ERR! syscall open
- npm ERR! enoent ENOENT: no such file or directory, open '/Users/hc-101/package.json'
- npm ERR! enoent This is related to npm not being able to find a file.
- npm ERR! enoent
- npm ERR! A complete log of this run can be found in:
- npm ERR! /Users/hc-101/.npm/_logs/2019-08-21T09_47_19_686Z-debug.log
- MacBook-Pro:mycode hc-101$ sudo npm install -g @vue/cli
- Password:
- /usr/local/bin/vue -> /usr/local/lib/node_modules/@vue/cli/bin/vue.js
- + @vue/cli@3.10.0
- updated 1 package in 97.759s
- MacBook-Pro:mycode hc-101$ npm run serve
- npm ERR! path /Users/hc-101/package.json
- npm ERR! code ENOENT
- npm ERR! errno -2
- npm ERR! syscall open
- npm ERR! enoent ENOENT: no such file or directory, open '/Users/hc-101/package.json'
- npm ERR! enoent This is related to npm not being able to find a file.
- npm ERR! enoent
- npm ERR! A complete log of this run can be found in:
- npm ERR! /Users/hc-101/.npm/_logs/2019-08-21T09_47_19_686Z-debug.log
- [MacBook-Pro:mycode hc-101$ cat /Users/hc-101/.npm/_logs/2019-08-21T09_47_19_686Z-debug.log
- 0 info it worked if it ends with ok
- 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'serve' ]
- 2 info using npm@6.9.0
- 3 info using node@v10.16.3
- 4 verbose config Skipping project config: /Users/hc-101/.npmrc. (matches userconfig)
- 5 verbose stack Error: ENOENT: no such file or directory, open '/Users/hc-101/package.json'
- 6 verbose cwd /Users/hc-101/Desktop/mycode
- 7 verbose Darwin 18.6.0
- 8 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "serve"
- 9 verbose node v10.16.3
- 10 verbose npm v6.9.0
- 11 error path /Users/hc-101/package.json
- 12 error code ENOENT
- 13 error errno -2
- 14 error syscall open
- 15 error enoent ENOENT: no such file or directory, open '/Users/hc-101/package.json'
- 16 error enoent This is related to npm not being able to find a file.
- 17 verbose exit [ -2, true ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement