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

windows npm version error #516

Closed
ittce opened this issue Jul 3, 2017 · 2 comments
Closed

windows npm version error #516

ittce opened this issue Jul 3, 2017 · 2 comments

Comments

@ittce
Copy link

ittce commented Jul 3, 2017

hi, 在check-version.js中,如果我更新了npm的版本,在node 4.4.x版本下,npm包版本为2.14.x,我将版本更新后, child_process获取到的 npm --version 还是2.14.x,造成报错

in check-version.js, if I update npm version, "child_process.execSync()" get the npm version is 2.14.x。 I exec in cmd by myself, the answer is 5.14.x

@posva
Copy link
Member

posva commented Jul 3, 2017

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, gitter or StackOverflow.

@posva posva closed this as completed Jul 3, 2017
@jquery2005
Copy link

jquery2005 commented May 1, 2019

PS E:\VueLearning> vue info

Environment Info:

System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
Binaries:
Node: 10.15.3 - E:\Program Files\nodejs\node.EXE
Yarn: 1.15.2 - C:\Users\msdn1\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - E:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 42.17134.1.0
npmGlobalPackages:
@vue/cli: Not Found

PS E:\CSharp\VueLearning> npm uninstall -g @vue/cli
removed 685 packages in 16.855s
PS E:\VueLearning> npm install -g @vue/cli
npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
PS E:\VueLearning>

how to update dependencies?

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

3 participants