Why do eslint errors cause site not to display aft

2019-08-04 17:05发布

I installed node.js on a Windows machine.

Then I installed npm i -g vue-cli.

npm run dev brought up the vue.js-cli site at http://localhost:8080.

After turning off and on my computer, when I type npm run dev, I get this error:

enter image description here

But when I installed vuejs-cli, I explicitly stated I didn't want eslint when it offered to install it.

And there are no eslint errors in my settings:

enter image description here

And in my browser I see this:

enter image description here

Otherwise, I haven't changed the files, and it worked right after I had installed it once.

How can I get these eslint errors to not occur and the site to display corrected?

0条回答
登录 后发表回答