I had an issue running my sveltekit dev server. I kept getting this issue:
EPERM: operation not permitted, stat 'C:\Users\user\Documents\Github\SvelteKit\Goremote Africa\main\.svelte-kit\types\src\routes\$types.d.ts'
Here's how to solve it:
npm cache clean --force
npm config edit
It will open a notepad window/tab.
prefix=C:\Users\user\AppData\Roaming\npm
Save and close the notepad window and run your development server. It should work now:
Happy Hacking!
以上是修復 EPERM:不允許操作 (...$types.d.ts)的詳細內容。更多資訊請關注PHP中文網其他相關文章!