Skip to content

Problem when use VuePress in an existing project #87

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

Closed
tinchox5 opened this issue Apr 16, 2018 · 3 comments
Closed

Problem when use VuePress in an existing project #87

tinchox5 opened this issue Apr 16, 2018 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@tinchox5
Copy link

Step to reproduce:
Start a clean vue project using [email protected], then install [email protected] in the main project folder using "npm install -D vuepress".

What happens:

npm WARN [email protected] requires a peer of webpack@^4.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@>=4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
@yyx990803
Copy link
Member

It's weird because yarn is able to produce a correct dep tree in this case but npm cannot...
I'd suggest using yarn for now.

@yyx990803 yyx990803 added the help wanted Extra attention is needed label Apr 17, 2018
@tinchox5
Copy link
Author

Thank you!

@yyx990803
Copy link
Member

Confirmed this is a known issue in npm. Will likely have to use Yarn for this specific case for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants