Watchpack error: EACCES: Permission denied

using watch mode of next 13 is constantly throwing this error on my project console, i assume this is the reason my watch mode is taking forever to load the new code that i often need to reload the page i'm very noob to WSL and linux stuff, how can i solve this error?
"project-dependencies": {
"next": "13.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.0.2"
}
"project-dependencies": {
"next": "13.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.0.2"
}
"other-things": {
"node": "18.12.1",
"OS": "Windows 10 Home"
"WSL": 1
}
"other-things": {
"node": "18.12.1",
"OS": "Windows 10 Home"
"WSL": 1
}
1 Reply
Rhys
Rhys•15mo ago
use WSL2 if you can and did you clone the project in Windows or Linux? If you edit files from windows permissions get funky