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

[Bug] whe run 'npm install -g x', the node version is increect #1949

Open
cffycls opened this issue Nov 25, 2024 · 0 comments
Open

[Bug] whe run 'npm install -g x', the node version is increect #1949

cffycls opened this issue Nov 25, 2024 · 0 comments

Comments

@cffycls
Copy link

cffycls commented Nov 25, 2024

PS D:\work\xx\view> node -v
v14.21.3
PS D:\work\xx\view> npm -v
6.14.18
PS D:\work\xx\view> volta run npm install -g node-gyp --verbose
npm verbose cli D:\Applications\Scoop\apps\volta\current\appdata\tools\image\node\20.15.1\node.exe D:\Applications\Scoop\apps\volta\current\appdata\tools\image\npm\10.8.3\bin\npm-cli.js
npm info using npm@10.8.3
npm info using node@v20.15.1
npm verbose title npm install node-gyp
npm verbose argv "install" "--global" "--loglevel" "verbose" "node-gyp"
npm verbose logfile logs-max:10 dir:C:\Users\cffy\AppData\Local\npm-cache\_logs\2024-11-25T06_11_53_996Z-
npm verbose logfile C:\Users\cffy\AppData\Local\npm-cache\_logs\2024-11-25T06_11_53_996Z-debug-0.log
npm http fetch GET 200 https://registry.npmmirror.com/node-gyp 22ms (cache hit)

PS D:\work\xxe\view> npm i --verbose
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'D:\\Applications\\Scoop\\apps\\volta\\current\\appdata\\tools\\image\\node\\14.21.3\\node.exe',
npm verb cli   'D:\\Applications\\Scoop\\apps\\volta\\current\\appdata\\tools\\image\\node\\14.21.3\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'i',
npm verb cli   '--verbose'
npm verb cli ]
npm info using npm@6.14.18
npm info using node@v14.21.3
npm verb npm-session d3e4a730744615bf

and even "Uninstalling node is not supported yet":

PS D:\work\xx\view> volta uninstall node@v20
error: Uninstalling node is not supported yet.
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

1 participant