0

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

What do I need to do to get node able to server the vue.js-cli site again?

thanksd
  • 54,176
  • 22
  • 157
  • 150
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
  • 1
    You should have needed to run `vue init ` to generate a project before running `npm run dev`. And this would have created the `package.json` file you're missing. Did you not do that? – thanksd Aug 24 '17 at 19:29
  • Thanks, I needed to go into the my-project directory, which got me further, but now I am getting these problems with eslint: https://stackoverflow.com/questions/45869803/why-do-eslint-errors-cause-site-not-to-display-after-vue-js-cli-install – Edward Tanguay Aug 24 '17 at 19:50

0 Answers0