on-internet
← Community

How to fix chunk load failure?

Stack Overflow ·

I am trying to make a web application using Vue and Monaco Editor for the frontend and Asp.Net Core 3 on the backend. I am also using webpack since I'm using Vue single page components. I am new to webpack, and don't understand all its functionality. Anyway, webpack splits the build into several files (chunks it seems). However, when loading the web page I keep getting the error Uncaught (in promise) ChunkLoadError: Loading chunk 2 failed. I tried to googling the answer, but nothing I have done has worked so far. Here are my package.json and webpack.config.json. Package.json { "name": "parvis"

Comments

Sign in or sign up to comment and upvote.

No comments yet.