When I type npm start
into the terminal in VS Code, this is the result:
PS C:\Windows\System32\FirstApp> npm start
> @ start C:\Windows\System32\FirstApp
> expo start
EPERM: operation not permitted, open 'C:\Windows\System32\FirstApp\.expo\settings.json.1281830730'
Error: EPERM: operation not permitted, open 'C:\Windows\System32\FirstApp\.expo\settings.json.1281830730'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `expo start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hatfi\AppData\Roaming\npm-cache\_logs\2021-09-07T14_06_40_219Z-debug.log
I've looked around on the internet and I have no idea how to fix it, any other fix I try seems not to work, except uninstalling and reinstalling node.js, but I've already done that and this will just happen again the next time I shut down my PC.