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

Nuxt.js running error!!! #3400

Closed
warriorBrian opened this issue May 31, 2018 · 16 comments
Closed

Nuxt.js running error!!! #3400

warriorBrian opened this issue May 31, 2018 · 16 comments

Comments

@warriorBrian
Copy link

Version

v1.4.0

Reproduction link

https://github.com/nuxt/nuxt.js

Steps to reproduce

I can't run after I installed my dependencies
error.png

What is expected ?

He should run normally

What is actually happening?

No parser and no filepath given, using 'babylon' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.

error.png

Additional comments?

Please provide solutions in a timely manner. At present, this situation has occurred in all projects, leading to the failure of all online businesses to function properly.

This bug report is available on Nuxt.js community (#c7183)
@ghost ghost added the cmty:bug-report label May 31, 2018
@aldarund
Copy link

It is warning, not a error

@warriorBrian
Copy link
Author

@aldarund no , I simply can't run this initialized nuxt framework. This is an error !!!

@warriorBrian
Copy link
Author

warriorBrian commented Jun 1, 2018

@clarkdo I can't run the project extension at all. I wonder if I can get back to normal. I have been waiting for anxiety because I am doing projects for the company.

@brammittendorff
Copy link

This is really bad, we can not see the output now. Try updating vue-loader they have been patched allready:
prettier/prettier#4567

@clarkdo
Copy link
Member

clarkdo commented Jun 1, 2018

Can you try manually install vue-loader@13.7.2 in you project ?

@jpickwell
Copy link

jpickwell commented Jun 1, 2018

Tested with vue-loader v14.2.2 and it seems to work. vue-loader v15 would be better because of its improved design, but it requires modifications to Nuxt code.

# css-loader and vue-template-compiler are added to silence peer-dependency warnings
yarn add vue-loader@^14.2.2 css-loader@* vue-template-compiler@^2.0.0

@clarkdo
Copy link
Member

clarkdo commented Jun 2, 2018

Nuxt has upgraded vue-loader to 15, 2.0 will be released soon.

@wormen
Copy link

wormen commented Jun 3, 2018

a similar problem
when will version 2 release?

@Maple13
Copy link

Maple13 commented Jun 4, 2018

I also encountered the same problem, but the above reply is not very intuitive. What should I do exactly?

@warriorBrian
Copy link
Author

@Maple13

npm install vue-loader@13.7.2 --save-dev 

Can temporarily solve this problem

@nusendra
Copy link

nusendra commented Jun 4, 2018

thanks @warriorBrian. the warning is gone.

@Maple13
Copy link

Maple13 commented Jun 4, 2018

@warriorBrian
Very good! I solved the problem, thank you very much

@denniszon
Copy link

denniszon commented Jun 4, 2018

This question is the same as #3385

@sebkolind
Copy link

Thank you @warriorBrian

But, could someone explain to me why this is even happening in the first place? I'm working on a project with Nuxt, and earlier today everything was working as it should, but suddenly after installing a package: mailgun.js everything went sideways. I'm trying to understand why this happened.

Could someone help?

@ausir0726
Copy link

@SebastianKS I guess that because when you install mailgun package , you break locked dependency package in node_modules .

@clarkdo
Copy link
Member

clarkdo commented Jun 6, 2018

A patch release v1.4.1 for the quick fix has been published.

@clarkdo clarkdo closed this as completed Jun 6, 2018
@nuxt nuxt locked as resolved and limited conversation to collaborators Jun 6, 2018
@Atinux Atinux added this to Done in Bugs 🐞 Aug 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Bugs 🐞
  
Fixed
Development

No branches or pull requests