npm install时报错
PS E:\workspace> npm install
npm WARN saveError ENOENT: no such file or directory, open 'xx\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 'xx\package.json'
解决方法:cd 进入 package.json的真正目录,再执行就可以了。
PS E:\workspace> cd xx-web
PS E:\workspace\xx-web>