Next js could not find module bug in react client
Unanswered
Donskoy posted this in #help-forum
DonskoyOP
Hello, I am running into an issue with running my website on localhost after running
npm run dev on my machine? My dependencies were up to date as well as my node and npm as well as my code which had no linting or syntax errors or bugs. However, I'm getting could not find module node_modules\next\dist\client\components\app-router.js#default" in the React Client Manifest. This is probably a bug in the React Server Components bundler every time? I think it might have to do something with routes but I am completely lost where I should go from here (also npm run build also gets the same errors too).I also looked into the file and have deleted my node_modules folder and the .next folder to re do it again and also have restarted vscode as well. I am lost and I don't know where to go from here and its frustrating trying to troubleshoot the problem. Any help would be needed. Thanks!