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

vue-cli 2.3.1 #165

Closed
GJean opened this issue Sep 7, 2016 · 4 comments
Closed

vue-cli 2.3.1 #165

GJean opened this issue Sep 7, 2016 · 4 comments

Comments

@GJean
Copy link

GJean commented Sep 7, 2016

Hi,

I update vue-cli 2.2.0 to 2.3.1 and now on my all project I have this error when I launch npm run dev

ERROR in ./src/App.vue Module not found: SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: /home/gjean/package.json (directory description file): SyntaxError: Unexpected end of JSON input @ ./src/App.vue 10:23-136 @ ./src/main.js @ multi main
I use template webpack-simple-2.0 and my OS is Manjaro Linux

@zigomir
Copy link
Contributor

zigomir commented Sep 8, 2016

@GJean this issue isn't vue-cli related. But it might be connected to this problem: https://github.com/vuejs-templates/webpack-simple-2.0/pull/18

@zigomir zigomir closed this as completed Sep 8, 2016
@GJean
Copy link
Author

GJean commented Sep 8, 2016

No I try fix with add resolver in webpack.package.json but does'nt fix my problem. And why he search in my home directory ? it's not my project directory.

@GJean
Copy link
Author

GJean commented Sep 8, 2016

If I copy/paste project package.json in /home/gjean it's work.

@GJean
Copy link
Author

GJean commented Sep 9, 2016

I uninstall all nodejs and vue cli. After install again nodejs, npm and vue cli and now it's work. thanks for your help.

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

2 participants