Expected behavior
install package successfully, no error.
Actual result
C:\Users\Serena>npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Serena/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Serena\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! C:\Users\Serena\AppData\Local\npm-cache_logs\2022-11-04T18_03_24_366Z-debug-0.log
Screenshots
Checked the local folder 'C:\Users\Serena\, I found package-lock.json instead of package. json, manually change the package-lock.json to package. json, and run the npm install, no error, is this the expect behavior?
Desktop (please complete the following information):
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior install package successfully, no error.
Actual result C:\Users\Serena>npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\Serena/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Serena\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! C:\Users\Serena\AppData\Local\npm-cache_logs\2022-11-04T18_03_24_366Z-debug-0.log
Screenshots![image](https://user-images.githubusercontent.com/112736530/200049055-d44514c6-99a3-48a5-845a-e9951e35b448.png)
Checked the local folder 'C:\Users\Serena\, I found package-lock.json instead of package. json, manually change the package-lock.json to package. json, and run the npm install, no error, is this the expect behavior?
Desktop (please complete the following information):