Vuepress: Problem when use VuePress in an existing project

Created on 16 Apr 2018  路  3Comments  路  Source: vuejs/vuepress

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.
````

help wanted

All 3 comments

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.

Thank you!

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FadySamirSadek picture FadySamirSadek  路  3Comments

AMontagu picture AMontagu  路  3Comments

lesliecdubs picture lesliecdubs  路  3Comments

higuoxing picture higuoxing  路  3Comments

sankincn picture sankincn  路  3Comments