skip to Main Content

I am using vuejs as my frontend,when I run npm run serve,it runs ok,but when I navigate to my browser,the first thing I see is this error

Error

Uncaught runtime errors:
ERROR
[object Object] handleError@webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:252:58
createOverlay/<@webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:275:18

I have tried deleting node_modules and reinstalling with npm install,but the error is still there,please assits,any assistance will be highly appreciated

2

Answers


  1. module.exports = {
      //...
      devServer: {
        client: {
          overlay: {
            errors: true,
            warnings: false,
            runtimeErrors: true,
          },
        },
      },
    };
    
    Login or Signup to reply.
  2. Check your network tab, there might be 404 request

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search