Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eslint errors #3

Open
joshStillerman opened this issue Jan 13, 2017 · 0 comments
Open

eslint errors #3

joshStillerman opened this issue Jan 13, 2017 · 0 comments

Comments

@joshStillerman
Copy link

I am javascript newbe.... When I try

npm install
npm run dev

I get a complaint:

ERROR in .//babel-loader/lib!.//eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
Module build failed: Error: Cannot find module 'babel-eslint'
at ModuleResolver.resolve (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/util/module-resolver.js:74:19)
at Object.load (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/config/config-file.js:517:42)
at loadConfig (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/config.js:63:33)
at getLocalConfig (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/config.js:130:29)
at Config.getConfig (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/config.js:259:26)
at processText (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/cli-engine.js:224:33)
at CLIEngine.executeOnText (/Users/jas/vue/VuejsStarterKit/node_modules/eslint/lib/cli-engine.js:754:26)
at lint (/Users/jas/vue/VuejsStarterKit/node_modules/eslint-loader/index.js:44:31)
at Object.module.exports (/Users/jas/vue/VuejsStarterKit/node_modules/eslint-loader/index.js:181:3)
@ ./src/App.vue 8:18-111
@ ./src/main.js
@ multi main

this can be fixed by adding the line:
"babel-eslint": "^7.1.1",

to the dependencies and the devDependencies.

However then there are eslint errors on spacing and semi colons

and then trouble loading the flag gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant