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

some issues related to deep dependencies #4025

Closed
undoZen opened this issue Jul 26, 2017 · 4 comments
Closed

some issues related to deep dependencies #4025

undoZen opened this issue Jul 26, 2017 · 4 comments

Comments

@undoZen
Copy link

undoZen commented Jul 26, 2017

Do you want to request a feature or report a bug?
bug

What is the current behavior?
not installing right deep dependencies

If the current behavior is a bug, please provide the steps to reproduce.
Use vue webpack template to init a project, set dependencies vue@~2.2 vue-template-compiler@~2.2 in package.json, then yarn and npm run dev, fails and report vue vue-template-compiler version not match. but if I use npm i, version solved well.

What is the expected behavior?
works well as use npm

Please mention your node.js, yarn and operating system version.
node v7.9.0 npm v4.2.0
yarn v0.27.5

@BYK
Copy link
Member

BYK commented Jul 26, 2017

Can you please provide us with a package.json and your installed versions so we can reproduce this reliably and try to fix it?

@undoZen
Copy link
Author

undoZen commented Jul 27, 2017

@BYK
Copy link
Member

BYK commented Jul 27, 2017

Looks like vue-loader is at fault here. It is listing vue-template-loader as a dependency whereas it should list it as a peerDependency. Seems to be fixed on latest master: https://github.com/vuejs/vue-loader/blob/master/package.json#L48

@BYK
Copy link
Member

BYK commented Jul 27, 2017

Also, next time, please make sure your yarn.lock file does not have links to a private repository ;) I had to remove it to test your repo.

@BYK BYK closed this as completed Jul 27, 2017
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