villeristi / vue.js-starter-template

A starter template for Vue.js projects
https://vue-starter.ville.io/
MIT License
264 stars 67 forks source link

Error: No ESLint configuration found #8

Closed tomekit closed 7 years ago

tomekit commented 7 years ago

Hi, I am new to Vue.js as well as Yarn. When I start it I get this error: image

Any idea how to fix it? Thanks

tomekit commented 7 years ago

npm install -g eslint then eslint --init seem to fixed this problem, but now got: Module build failed: Error Couldn't find preset "stage-0" relative to directory

tomekit commented 7 years ago

So I did: npm install babel-preset-stage-0 --save-dev but now got error during build: error Extra semicolon semi in src/config/constant.js.

tomekit commented 7 years ago

Finally I've removed nvm: rm -rf $NVM_DIR ~/.npm ~/.bower updated npm package using: sudo npm update. Then yarn couldn't start, due to another process already listening on 8080. nestat -lp didn't return that process, so I've restarted my machine and yarn start started sucessfully.

Wow, the front-end world changed a lot, comparing to 5 years ago, when I've did some of the front-end.