Comments (18)
FYI, if you had node installed before, delete C:\Program Files\nodejs and nvm windows will create the symlink
from nvm-windows.
Well, after trying several times by re-installing each time, now it seems to work.
I have no idea what happened here.
Side note - If nvm is installed on the c:\ so that the path is as I have stated above, will this allow all users to use the software as well as nodejs? I am thinking rather than installing it in the default directory ...\Roaming\..
.
Thanks in advance!
from nvm-windows.
@fpatros - I actually think this specific issue is related to issue #23. I have not yet had a chance to add the file.exe
to the distribution (the resolution for that issue), but it might resolve your problems. The key indicator here is the ?-bit
... it should read 32-bit
or 64-bit
.
If you install to the default
user directory, it should theoretically work for all users.
from nvm-windows.
Thanks for the prompt reply @coreybutler
I always thought when you install in the roaming
folder of a user, that user is the only one able to access them, save, an administrator can access everything.
The way I set up my computer is to have an admin account which I do all my installations through, but work through a user account.
Even when I installed aptana studio I installed it on the c:\
drive for that reason.
Installed nvm
on the c:\
drive and logged in with the normal user account to use it. The only issue that I can find at the moment is that when I use nvm use 0.10.35
the windows UAC pops up asking me to authenticate. If I authenticate with user account, it pops up a second time [scratch head], so I authenticate again. When authenticated, it shows that it makes the switch but it actually doesn't. I test this by typing node -v
which spits out 'node' is not recognized...
. If I redo it but authenticate with the admin account, does not pop up a second time here, then no problems. Doing other things such as nvm install 0.11.14
under the normal user account seems to work no problem because I see the folder with all the files being created. I don't know whether or not going in as admin and allowing Full Control
access under Security
will do anything considering I am able to Write
to this folder without that being the case.
This image shows the state of authentication while using the normal user account
System Variables
for both accounts show nvm
and symlink
, but only the admin shows those same variables for the Environment Variables
. Adding these variables
to the Environment Variables
for the user account does not solve the above problem either.
from nvm-windows.
I'm also on Win 8.1 64bits and i have the same issue. I'll try to reinstall and get some logs for you guys
FYI: My install folder is also not in Program Files, but C:\Development
from nvm-windows.
So after a while trying to play with the code and Go (which is a good language i must say), i found that actually the bug is in /src/arch/arch.go -> arch.Bit. exec.Path say that the file is not not found.
"file" exec doesn't seems to exist in Windows 8.1 or well, go doesn't handle it (more info here: skratchdot/open-golang#4) so this is a Windows 8.1 issue only. Also GNUFile for Windows crashes on Windows 8.1 (and that's probably the issue here).
The workaround the folks found on the issue above is good, but here we only want to know which arch the file is, so i created a workaround who simply read the first bytes until he found a correct architecture.
PR in a minute
from nvm-windows.
I've already fixed this in the next version. Go 1.4 offered some new capabilities to handle this natively... much cleaner.
from nvm-windows.
I just ran into this issue too. Corey did indeed fix it two weeks ago, but the release listed on the GitHub is from 5 months ago, so here are instructions on how to build nvm-windows yourself:
- Download this GitHub repo, e.g. as a zip from here.
- Download Go if you don't already have it.
- Navigate to the root of the nvm-windows-master directory. This is the project root.
- Open nvm.iss and set ProjectRoot to the directory from above.
- Open CMD and navigate to the project root.
- Type "build".
- Run the installer in \dist\nvm-setup.exe
@coreybutler - thanks for the project! I suggest adding build instructions to the README and perhaps updating your latest release with a new installer.
from nvm-windows.
@Adam13531 - The latest code in master has not been tested as a release, and I have no plans to do so... mostly because I am working on a much improved version of this project. See the Gitter feed for more information.
I'll add these instructions to the wiki along with the other installer instructions in the interim.
from nvm-windows.
Not sure if this is the best place, but the nvm use latest 32
also appears to be broken in the latest release. Whenever I try the command it always returns the following error:
node vlatest (32-bit) is not installed
from nvm-windows.
nvm use latest
is not a supported command.... only "npm install latest". The use command expects a specific version. The "latest" keyword refers to the latest release, which may or may not be installed on your system. It is not context aware, though that's an interesting idea.
from nvm-windows.
Ah. My apologizes. I miss understood its usage. Though it would be an
amazing feature if it could work. In the mean time I will update our
internal scripts to a support release version. Thanks again.
On Wed, May 13, 2015, 2:36 PM Corey Butler [email protected] wrote:
nvm use latest is not a supported command.... only "npm install
latest". The use command expects a specific version. The "latest" keyword
refers to the latest release, which may or may not be installed on your
system. It is not context aware, though that's an interesting idea.—
Reply to this email directly or view it on GitHub
#37 (comment)
.
from nvm-windows.
@JeffHerb - No need to apologize. I think this could be a useful context to expand into for the next version. It's not something I thought about, but it's on my radar now.
from nvm-windows.
The latest version looks like helping a lot of persons.
Maybe you could update the README to prevent recurring issues like this ? Like putting a link to this thread with a message : "If you have trouble, get the lateste repo version and try" ?
from nvm-windows.
I am also having the node v0.12.5 (64-bit) is not installed.
problem. I am using NVM 1.0.6, which is the latest.
Only when I reinstall a version is that I am able to use
it.
@coreybutler This bug has been open for very long. Do you need help on fixing it? Do you need any logs or help on checking something? Let us know.
from nvm-windows.
@giggio - See the gitter feed, announcement on July 11.
from nvm-windows.
@coreybutler Got it.
from nvm-windows.
Not sure why this is still open. It was fixed a long time ago.
from nvm-windows.
Related Issues (20)
- [Issue]: Downloading node.js version xxx (indefinitely & with no status) HOT 5
- [Issue]: NVM for Windows is INCORRECTLY positioned in the PATH HOT 5
- [Issue]: erorr using nvm install `panic: runtime error` HOT 1
- exit status 145: Ŀ¼���ǿյġ� HOT 3
- Invalid after nvm use, nvm -v 1.1.11 HOT 13
- When installing a node version with nvm, the corresponding npm version is not installed HOT 2
- nvm install lts panic HOT 1
- [Issue]: Can't install any version. `nvm list available` lists nothing HOT 5
- [Feature]: HOT 1
- [Issue]: nvm-update.exe: NVM for Windows should be run from a terminal such as CMD or PowerShell HOT 37
- exec: "elevate.cmd": executable file not found in %PATH%:[Issue]: HOT 13
- [Issue]: nvm use <version> doesn't actually switch after UAC is denied HOT 2
- [Issue]: The "no-install" variant of this software does not work for several reasons. HOT 1
- I can't update nvm-windows HOT 3
- [Issue]: The “nvm ls” command displays the node versions available, however, the “nvm use” command fails. HOT 3
- [Issue]: install latest not handled and leaks unnecessary info HOT 3
- [Feature]: Do not inform users that -- is unecessary as it hurts cross platform instructions HOT 2
- [Feature]: Allow Windows user do not have administrative rights to install/use Node.js HOT 1
- Facing issue in order to convert node version using nvm HOT 4
- NVM does not work on NanoServer and there is no content output when executing command. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm-windows.