nanjingboy / nvmw Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED]Node Version Manager for Windows
[DEPRECATED]Node Version Manager for Windows
admin@DESKTOP-S007DTG MINGW64 /c
$ nvmw -h
/c/Users/admin/AppData/Roaming/npm/nvmw: line 1: /node_modules/nvmw/bin/nvmw.bat: No such file or directory
When I run:
nvmw -v
...I get:
error: unknown option `-v'
The flags: --version
and -V
(capital 'V') do work. Is this an issue with nvmw
or with commander
?
It seems that have no solution for connecting remote through a proxy server
I'm having a weird issue, which appeared only after I started using nvmw
:
Whenever I use ctrl-c
to stop the running script (on MINGW64) the NodeJS process is not killed. Using the normal windows terminal (win+r > cmd) everythin works fine.
NodeJS and Npm are installed using windows installer
Cygwin is installed with official installer
NodeJS, Npm and Npm modules are in the $PATH
Output:
maximsmol@MainHome ~
$ nvmw
/cygdrive/c/Users/maximsmol/AppData/Roaming/npm/nvmw: line 1: /node_modules/nvmw/bin/nvmw.bat: No such file or directory
Fix found in jshint executable:
#!/bin/sh
basedir=`dirname "$0"`
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/node_modules/jshint/bin/jshint" "$@"
ret=$?
else
node "$basedir/node_modules/jshint/bin/jshint" "$@"
ret=$?
fi
exit $ret
Change nvmw executable file to:
#!/bin/sh
basedir=`dirname "$0"`
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
"$basedir/node_modules/nvmw/bin/nvmw.bat" "$@"
exit $?
> nvmw install 0.11.14
Downloading Npm for Node v0.11.14...
Npm for Node v0.11.14 downloaded failed
When nvmw tries to install NPM it downloads from
https://raw.github.com/joyent/node/{version}/deps/npm/package.json
This url is invalid for versions of Node.js > 0.12.7
On the other hand, the url https://raw.github.com/nodejs/node/{version}/deps/npm/package.json works for versions of Node.js > 0.12.7 as well as for previous versions.
C:\Users\Steve\AppData\Roaming\npm\node_modules\nvmw\bin\nvmw.b
at"
ERROR: The system was unable to find the specified registry key or value.
It seems that the InstallPath key is not set
Hi guys,
I've been struggling with an extremely unpleasant issue for about a week now (http://stackoverflow.com/q/30685194/2065080).
I'm not sure how cmd_auto_run.bat
appeared and how I got it as a path in AutoRun in Command Processor registry, but it turned out that each time console (cmd) is used, this bat file is executed. And there I found:
@echo off
set "NVMW=v0.10.36"
set "NVMW_DEFAULT=v0.10.36"
set "PATH=C:\Users\..."
What this means is that no matter what changes I do to the system/user PATH variable, they are NEVER applied to cmd, because each time it is started, the PATH is overwritten. This is extremely unpleasant and unprofessional!! It's not that hard to find the current version of npm that is used and replace it with one of the NVMW variables, and then appending the original PATH.
I've spent numerous hours trying to understand why only cmd is not getting the PATH properly... This is insane. I am now spending time to understand how to uninstall nvmw, as it is installed in different node version than the one I use (must switch through all to find where it is). Totally wrong!
Which version does it install on 64 bit machines
Is it possible to specify? One of my projects requires the x86 version
nvmw use 切换版本无效,node -v 查看没有变化, nvmw ls查看版本也是没有变更
HKCU\Software\Microsoft\Command Processor\AutoRun
你搞这个干吗???坑人吗
node v4.0.0 download failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.