问题遇到的现象和发生背景
运行Vue项目时出现: no such file or directory, open 'D:\MyIDE\dianshang\package.json'
: no such file or directory, open 'D:\MyIDE\dianshang\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'D:\MyIDE\dianshang\package.json'
npm WARN dianshang No description
npm WARN dianshang No repository field.
npm WARN dianshang No README data
npm WARN dianshang No license field.
up to date in 2.781s
found 0 vulnerabilities
D:\MyIDE\dianshang>npm run serve
npm ERR! path D:\MyIDE\dianshang\package.json
npm ERR! code ENOENT
npm ERR! errno -4058