Reputation: 52
After a couple days, when i start my project this error appears:
./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./src/styles/globals.css
Error: Cannot find module 'C:\project_is_here\node_modules\is-core-module\index.js'
I don't know how fix that, someone can help me? PS: is like the index file in is-core-module is not created / has been deleted, and don't create another
Upvotes: 0
Views: 849
Reputation: 5951
I had the same issue and this works for me:
.next
(folder)node_modules
(folder) and package-lock.json
(file)npm cache clean --force
command.npm install
commandnpm run dev
commandUpvotes: 1