错误的NPM IS核模块在接下来的JS中
几天后,当我启动项目时,这个错误出现了:
./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'
我不知道该如何解决,有人可以帮助我吗? ps:就像未创建 /尚未删除IS核模块中的索引文件,也不要创建另一个
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,这对我有用:
.next
(文件夹)node_modules
(文件夹)和package-lock.json
(file)npm cache清洁 -强制
命令。NPM install
命令npm Run Dev
命令I had the same issue and this works for me:
.next
(folder)node_modules
(folder) andpackage-lock.json
(file)npm cache clean --force
command.npm install
commandnpm run dev
command