Peer Dependency Warning When Installing @vue/cli
See original GitHub issueVersion
3.1.1
Node and OS info
npm 6.4.1
Steps to reproduce
npm install -g @vue/cli
What is expected?
Install Successful
What is actually happening?
npm WARN apollo-link-persisted-queries@0.2.1 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-subscriptions@0.5.8 requires a peer of graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-subscriptions@0.5.8 requires a peer of graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-tools@3.1.1 requires a peer of graphql@^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN @apollographql/apollo-upload-server@5.0.3 requires a peer of graphql@^0.13.1 but none is installed. You must install peer dependencies yourself.
Even after I manually install graphql with npm install -g graphql@^0.13.1, when I do npm -g list --depth=0, npm still warns
npm ERR! peer dep missing: graphql@^0.11.0 || ^0.12.0 || ^0.13.0, required by apollo-link-persisted-queries@0.2.1
npm ERR! peer dep missing: graphql@^0.13.1, required by @apollographql/apollo-upload-server@5.0.3
npm ERR! peer dep missing: graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0, required by graphql-subscriptions@0.5.8
npm ERR! peer dep missing: graphql@^0.13.0, required by graphql-tools@3.1.1
npm ERR! peer dep missing: graphql@^0.13.1, required by @apollographql/apollo-upload-server@5.0.3
npm ERR! peer dep missing: graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0, required by graphql-subscriptions@0.5.8
npm ERR! peer dep missing: graphql@^0.13.0, required by graphql-tools@3.1.1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:26
- Comments:80 (10 by maintainers)
Top Results From Across the Web
Peer Dependency Warning When Installing @vue/cli #5937
Upgrade to fsevents 2. npm WARN @vue/compiler-sfc@3.0.0 requires a peer of vue@3.0.0 but none is installed.
Read more >vue-cli peer dependency warn - Stack Overflow
npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. I ran npm install ......
Read more >you must install peer dependencies yourself Code Example
You must install peer dependencies yourself. npm WARN karma-jasmine-html-reporter@1.5.4 requires a peer of jasmine-core@>=3.5 but none is installed.
Read more >npm-install-peers
If you run this npm-install-peers command, moment will be installed because it's a direct peer dependency of your project.
Read more >Migrate from v3 - Vue CLI
npm install -g @vue/cli # OR yarn global add @vue/cli ... The babel plugin requires a peer dependency, for the polyfills used in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is my first experience with Vue and the cli. Not a good first impression.
Tried doing
npm install -g @vue/cli
but end up getting this error:
npm ERR! Unexpected end of JSON input while parsing near '...mist":"latest","mkdir' npm ERR! A complete log of this run can be found in: npm ERR! /Users/neerajjadhav/.npm/_logs/2019-08-16T08_26_47_050Z-debug.log
The log file says: