Closed astralcai closed 5 years ago
Are there any errors other than those warning? IMHO these are just warnings and should not affect use of vue cli.
That I'm not sure. They do show up as errors when I try to take a look at all my global packages by doing
npm list -g --depth=0
@vue/cli
seems to still be at v3.0.5 on npm. I think that's part of the problem.
Hi, I had the exact same warnings. My issue was that my /usr/local/lib/node_modules didn't have the right permissions.
I tried chmod 777 /usr/local/lib/node_modules
, installed the dependencies again and it worked for me. Hope it helped.
@vue/cli
seems to still be at v3.0.5 on npm. I think that's part of the problem.
Actually the version that I installed is also 3.0.5, I don't know why I said 3.1.1 above.
Hi, I had the exact same warnings. My issue was that my /usr/local/lib/node_modules didn't have the right permissions.
I tried
chmod 777 /usr/local/lib/node_modules
, installed the dependencies again and it worked for me. Hope it helped.
I tried your method, but it still doesn't work
+1 osοΌwindows 10 vue/cli version: 3.1.0
+1
windows 10
Plus i have this error when using vue create:
+1 Also Windows 10
Same on Mac Mojave Latest.
The issue is still there with latest version 3.1.1
Also encountered this issue, v3.1.1.
I've just downgraded to vue-cli for the time being, seems to be working fine now.
I've just downgraded to vue-cli for the time being, seems to be working fine now.
Oh I didn't mean to close this
macOs10.14 Mojave
macOs10.14 Mojave
npm update -g
npm list -g --depth=0
macOs10.14 Mojave, vue-cli 3.1.1
Is there any work around for this issue?
On a workstation with no npm cache vue-cli cannot be installed. I am trying to do something as simple as this but am blocked by this issue:
npm install -g @vue/cli npm install vue ui
This is my first experience with Vue and the cli. Not a good first impression.
^^ dry your eyes young man. Every Great product has hiccups.
^^ dry your eyes young man. Every Great product has hiccups.
I just don't like, with vue/cli installed, how every time I do anything with npm -g, even unrelated to vue, the error messages show up and there's nothing I can do about it
It's community driven, it's key competitors are billion dollar businesses.
macOS Mojave 10.14 @vue/cli 3.13
This is @vue/cli's faultοΌοΌοΌοΌ
noshu@noshu-dell:~$ npm list -g --depth 0
/home/noshu/.npm-global/lib
βββ @angular/cli@6.2.7
βββ @vue/cli@3.1.3
βββ bower@1.8.4
βββ cordova@8.1.2
βββ graphql@0.13.2
βββ ionic@3.20.1
βββ mocha@5.2.0
βββ nodemon@1.18.6
βββ polymer-cli@1.9.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.13.1, required by @apollographql/apollo-upload-server@5.0.3
npm ERR! peer dep missing: sinon@^1.4.0 || ^2.1.0 || ^3.0.0 || ^4.0.0, required by sinon-chai@2.14.0
npm ERR! peer dep missing: chai@>=1.9.2 <5, required by sinon-chai@2.14.0
noshu@noshu-dell:~$ npm -v
6.4.1
noshu@noshu-dell:~$ node -v
v8.13.0
Same on macOS Mojave 10.14 @vue/cli 3.13 βΉοΈβΉοΈβΉοΈ
the same problem (macos 10.13)
Same problem (graphql@^0.13.1) on Debian (Pixelbook)
Same problem (graphql@^0.13.1) on Ubuntu 16.04.5 LTS
because of the security vulnerability announced on https://news.vuejs.org/ November 27, 2018
I have done as recommended :
npm uninstall -g @vue/cli
npm install -g @vue/cli
and now npm list -g --depth=0 gives this
/usr/lib
βββ @vue/cli@3.1.3
βββ @vue/cli-service-global@3.1.3
βββ npm@6.4.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.13.1, required by @apollographql/apollo-upload-server@5.0.3
npm ERR! peer dep missing: ajv@^5.0.0, required by ajv-keywords@2.1.1`
Same problem on:
npm -v
: 6.4.1node -v
: v9.3.0npm list -g --depth=0
gives me:
/Users/*********/.npm-global/lib
βββ @angular/cli@7.1.0
βββ @vue/cli@3.2.1
βββ apidoc@0.17.7
βββ bower@1.8.4
βββ express-generator@4.16.0
βββ graphql@0.12.3
βββ gulp@3.9.1
βββ jest@23.6.0
βββ n@2.1.12
βββ nodemon@1.18.7
βββ npm@6.4.1
βββ pm2@2.10.4
βββ react-native-cli@2.0.1
βββ reaction-cli@0.29.0
βββ redis-commander@0.4.5
βββ selenium-webdriver@4.0.0-alpha.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.13.1, required by @apollographql/apollo-upload-server@5.0.3
Same here-
npm -v
: 6.4.1node -v
: v10.13.0/Users/**********/.npm-global/lib
βββ @vue/cli@3.2.1
βββ express-generator@4.16.0
βββ graphql@0.13.2
βββ nodemon@1.18.7
βββ npx@10.2.0
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.13.1, required by @apollographql/apollo-upload-server@5.0.3
Another one here for me folks:
npm -v
: 6.4.1node -v
: v8.11.3β npm list -g --depth=0
/Users/**/.nvm/versions/node/v8.11.3/lib
βββ @vue/cli@3.2.1
βββ @vue/cli-init@3.2.0
βββ @vue/cli-service-global@3.2.1
βββ browser-sync@2.26.3
βββ eslint@5.9.0
βββ gulp@3.9.1
βββ gulp-cli@2.0.1
βββ npm@6.4.1
βββ trash-cli@1.4.0
βββ yarn@1.12.3
βββ ytdl@0.10.4
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.13.1, required by @apollographql/apollo-upload-server@5.0.3
npm ERR! peer dep missing: ajv@^5.0.0, required by ajv-keywords@2.1.1
Same thing here;
npm -v
: 6.4.1node -v
: v10.8.0npm list -g --depth 0
/usr/local/lib
βββ @vue/cli@3.2.1
βββ @vue/cli-service-global@3.0.4
βββ aglio@2.3.0
βββ angular-cli@1.0.0-beta.19-3
βββ bower@1.5.3
βββ coffee-script@1.10.0
βββ cordova@6.0.0
βββ eslint@4.14.0
βββ firebase-tools@3.9.1
βββ grpc@1.13.1
βββ grunt-cli@0.1.13
βββ gulp@3.9.0
βββ gulp-cli@0.4.0 (git://github.com/gulpjs/gulp-cli.git#fa027550b482813bc270c8729680c058efe15c04)
βββ ionic@2.1.12
βββ laravel-echo-server@1.2.9
βββ less@2.6.1
βββ n@2.1.12
βββ node-gyp@3.7.0
βββ node-pre-gyp@0.10.3
βββ npm@6.4.1
βββ typescript@2.0.9
βββ typings@1.3.2
βββ update-node@0.1.0
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.13.1, required by @apollographql/apollo-upload-server@5.0.3
npm ERR! peer dep missing: @babel/core@^7.0.0, required by babel-loader@8.0.4
node -v
: v11.4.0npm -v
: 6.5.0npm list -g --depth=0 master * ] 3:23 PM
/usr/local/lib
βββ @angular/cli@7.1.2
βββ @vue/cli@3.2.1
βββ bower@1.8.4
βββ cordova@8.1.2
βββ csscomb@4.2.0
βββ generator-generator@4.0.2
βββ generator-liquid@1.4.3 -> /Users/realtvater/Sites/personal/generator-liquid
βββ grunt-cli@1.3.2
βββ gulp-cli@2.0.1
βββ ionic@4.5.0
βββ ios-deploy@1.9.4
βββ ios-sim@7.0.0
βββ npm@6.5.0
βββ npm-check@5.9.0
βββ typescript@3.2.2
βββ yo@2.0.5
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.13.1, required by @apollographql/apollo-upload-server@5.0.3
Ubuntu 18.04
node -v
v11.4.0npm -v
6.4.1
$ npm list -g -depth 0
/usr/lib
βββ @vue/cli@3.2.1
βββ npm@6.4.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.13.1, required by @apollographql/apollo-upload-server@5.0.3
apollo-server-express
v2.3.0 was released hours ago, which should have fixed this issue.
So what do we need to do to resolve this error message if apollo-server-express was updated? I am still getting the error message.
@ratracegrad uninstall the @vue/cli and reinstall it
Same problem (graphql@^0.13.1) on Ubuntu 16.04.5 LTS because of the security vulnerability announced on https://news.vuejs.org/ November 27, 2018 I have done as recommended :
npm uninstall -g @vue/cli npm install -g @vue/cli
and now npm list -g --depth=0 gives this
/usr/lib βββ @vue/cli@3.1.3 βββ @vue/cli-service-global@3.1.3 βββ npm@6.4.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.13.1, required by @apollographql/apollo-upload-server@5.0.3 npm ERR! peer dep missing: ajv@^5.0.0, required by ajv-keywords@2.1.1`
thank youοΌit's work.
Same warning on macOs Mojave 10.14.1 I tried to uninstall and reinstall it and it worked for me.
npm uninstall -g @vue/cli
npm install -g @vue/cli
and voila npm list -g --depth=0
shows me
/usr/local/lib
βββ @vue/cli@3.2.2
βββ npm@6.4.1
is this still an issue for anyone else, wondering if a clean node/npm installation/downgrade would work? i did uninstalled and installed with npm & yarn and got the same issue, and when i proceeded with vue create despite "peer dep missing msg" i had an error saying there is an issue with npm itself
@Thirstypooch The issue was fixed externally back in mid-December but you are required to uninstall and re-install vue-cli. See the comment directly above your own. If you are still having an issue, please open a new ticket.
try this $export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/YOURUSERNAME/.npm-global/bin"
HOPE it might work!! π
I have many times installed and uninstalled node, npm and vue, but i dont can create a vue project. when i start localhost:8080 i have a vue html page. but i dont can "create" vue project.
when i search for the vue --version:
@clevermarketing seems you have a custom npm prefix set. Please add that path to the $PATH
environment variable, by adding the following line to ~/.zshrc
or ~/.bashrc
:
export PATH=$PATH:$(npm bin -g)
@sodatea thank you very much. that was the problem. all working fine now.
i can now create vue project and it works fine when i start localhost:8080 but i dont can "code ." vue project to open and edit the project
macOS Sierra 10.12.6
node -v: 10.15.3
npm -v: 6.4.1
Version
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?
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