mac npm run dev 报错
Last login: Tue Jan 16 11:58:12 on ttys000
macdeMacBook-Pro:~ Leon$ npm run dev
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! path /Users/Leon/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/Leon/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/Users/Leon/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Leon/npm-debug.log
macdeMacBook-Pro:~ Leon$