Giter VIP home page Giter VIP logo

nvmw's Issues

Couldn't work in Windows10

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

-v does not work, but --version does

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?

enterprise proxy

It seems that have no solution for connecting remote through a proxy server

CTRL-C seems to stop the script but not the process?

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.

Does not work on Cygwin FIX INCLUDED

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 $?

Will not run in node 4.1.0 installed first

  • install node 4.1.0
  • install nvmw
  • run nvmw ls

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

Hardcoded cmd PATH is never updated!

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!

x64 or x86?

Which version does it install on 64 bit machines

Is it possible to specify? One of my projects requires the x86 version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.