npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path F:\vueworkspace\learnproject/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'F:\vueworkspace\learnproject\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! F:\program files\nodejs\node_cache\_logs\2021-07-08T02_29_23_252Z-debug.log
使用 cnpm install 改一下package.json位置,然后就能npm run serve了,稀里糊涂就好了,但是肯定要生成node_module的