As for why this error is reported, the literal understanding is that the file or path was not found, indicating that the path is wrong. You need to cd to the root directory.
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'F:\CUG\project\3D_earthloadWHU\exam1\package.json'
It can be seen from the picture above that the path behind me is exam1\package.json, but there is a my-app in the actual path.
F:\CUG\project\3D_earthloadWHU\exam1>cd my-app
F:\CUG\project\3D_earthloadWHU\exam1\my-app>npm run serve
> [email protected] serve
> vue-cli-service serve
So you need to jump to the correct path, so you won't report this error. (Record it daily, so as not to make another mistake)