Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Uncaught Runtime error #6

Closed
Rashmi-278 opened this issue Jan 17, 2021 · 1 comment · Fixed by #9 or #10
Closed

[Bug] Uncaught Runtime error #6

Rashmi-278 opened this issue Jan 17, 2021 · 1 comment · Fixed by #9 or #10

Comments

@Rashmi-278
Copy link

Version

next@10.1

Reproduction link

https://demos.creative-tim.com/notus-nextjs?_ga=2.261760520.424340754.1610867537-881030562.1610431277

Operating System

Linux mint

Device

DELL PRECISION T5500

Browser & Version

Version 86.0.4240.75 (Official Build) (64-bit) Google chrome

Steps to reproduce

npm run dev ,
inspect element to view responsive index page
reload the mobile responsive page

nextjs throws you a uncaught runtime error

What is expected?

No runtime error

What is actually happening?

Unhandled Runtime Error
ChunkLoadError: Loading chunk 0 failed.
(error: http://localhost:3000/_next/static/chunks/0.js)
Source
../../client/next-dev.js (16:0) @ Object.eval

14 | // The runtimeChunk can't hot reload itself currently to correct it when adding pages using on-demand-entries
15 | // eslint-disable-next-line no-unused-expressions

16 | REPLACE_NOOP_IMPORT
17 |
18 | // Support EventSource on Internet Explorer 11
19 | if (!window.EventSource) {

Call Stack
eval
webpack-internal:///./node_modules/next/dist/client/next-dev.js (155:30)
Object../node_modules/next/dist/client/next-dev.js
file:///home/torch/Desktop/Fresh/notuspub/.next/static/chunks/main.js (737:1)
webpack_require
/_next/static/chunks/webpack.js (873:31)
checkDeferredModules
file:///home/torch/Desktop/Fresh/notuspub/.next/static/chunks/webpack.js (46:23)
webpackJsonpCallback
/_next/static/chunks/webpack.js (33:19)

file:///home/torch/Desktop/Fresh/notuspub/.next/static/chunks/webpack.js (1015:54)

/_next/static/chunks/webpack.js (1023:10)


Solution

Additional comments

@einazare
Copy link
Contributor

Please make a video with the following:

  • Download the product
  • Unzip the product
  • Open terminal and cd into the project
  • Run node -v
  • Run npm -v
  • [Mac/Ubuntu/Linux] Run npm run install:clean
  • [Widnows] Run npm install
  • [Widnows] Run npm start
  • Showcase the issue

Best,
Manu

einazare added a commit that referenced this issue Mar 18, 2021
Closes #6
Closes #7
Closes #8
This was referenced Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants