我一直在学习下一节的基础教程.当我达到Global Styles step时,我开始出现以下运行时错误:

ChunkLoadError: Loading chunk node_modules_next_dist_client_dev_noop_js failed.
(error: http://localhost:3000/_next/static/chunks/fallback/node_modules_next_dist_client_dev_noop_js.js)

Error 1:
Screenshot of error (1)

Error 2:
Screenshot of error (2)

我严格按照所有步骤操作,当我关闭错误弹出窗口时,应用程序运行良好.

如果有人能对此提供指导,我将不胜感激!

推荐答案

Delete the 100 folder at the root of your project, relaunch your project, and force-refresh your page (Shift+F5 / Cmd+Shift+R) to remove the cache.

这显然是缓存问题.浏览GH问题和;在各种博客帖子中,我的结论是,没有人知道这个与网页相关的错误到底是怎么回事,可能是由Next引起的.js的行为.

Node.js相关问答推荐

node 无法验证第一个证书

Spotify Auth访问令牌给出错误代码400

Windows上使用ES6+的OpenAPI规范的Express服务器不接受嵌套路由'

查询嵌套数组中的最后一个元素具有特定值的mongoDB集合中的文档

谷歌应用程序脚本UrlFetchApp和nodejs-axios返回不同的结果;MyFitnessPal日记

如何获取mongoose中单个id数据的记录

express 和 mongoose 的新密码不正确

结合后端(Express)和前端(Angular)路由

Mocha调用所有it回调模拟(测试中间件)

Mongoose,如何一次更新多个?

baseurl64 缓冲区解码

Puppeteer 错误:未下载 Chromium 修订版

Webpack TypeScript module.hot 不存在

Node_redis - 如何删除密钥?

错误:大多数中间件(如 bodyParser)不再与 Express Bundle

Nodejs 随机免费 tcp 端口

当进程被杀死时,如何优雅地关闭我的 Express 服务器?

如何设置 useMongoClient (Mongoose 4.11.0)?

Npm postinstall 仅用于开发

将 expressjs 绑定到特定的 IP 地址