I need to set the node version to an older version for a new project I am working on. I am on Windows 11 Pro. This is a new computer that I setup yesterday and is pretty clean from a node perspective.
I have just removed nodejs and installed nvm (v 1.1.10).
After calling nvm install 16.19.0, I tried to call nvm use 16.19.0 and recieved the following error popup:
Here is the CLI history:
I was expecting this to set my current node version to 16.19.0.
I was trying to do this while running git-bash from Visual Studio Code so when I loaded up git-bash as Administrator I was able to get the nvm use call to work correctly.
Sorry for the stupid question, but I didn't see it answered on here anywhere else, so hopefully it will be useful to someone else.
My workflow requires nodejs v16 but because of the platform checks the new version isn't available on Windows 7. The reason I have been using Windows 7 still is because I have a really poorly performing Computer with only 4GB ram. Trying some things on the internet have enabled me to install v15 but still some tasks require the new version. Any help would be highly appreciated.
If you create an environment variable called: NODE_SKIP_PLATFORM_CHECK and set it to 1, node 16.6.2 will run on Windows 7. I have not tried any later versions than that, and 16.13 has been reported by others as not working. (Later versions of node use a version of libuv that doesn't support Windows 7, and so will not run even with the environment variable set.)
Right now I use node version 13.14.0 but to use the new version of create-react-app v5.0.0, I need to use node version 14 or later , which is not supported in windows 8. Does anyone have a solution for this?
error in creating a react app
I'm not aware of Windows 8 not supporting version 14.
You can download whichever version of version 14 you want here:
https://nodejs.org/dist/latest-v14.x/
You can also download the LTS version from here: https://nodejs.org/en/download/
This question already has answers here:
Install different versions of NodeJS
(7 answers)
Closed 4 years ago.
I'm currently using NodeJS 10 for my current react project but my 2nd react project is not compatible with node 10 and I need to use node 8 version but when I downloaded node 8 version and run msi file, it saying latest version is already installed on my machine and then end the installation.
I'm using windows.
How can I use two different node version on the same machine?
Use NVM (Node Version Manager) - Simple bash script to manage multiple active node.js versions.
Here you can find more details.
For Windows
When i start android device monitor in android studio "Java has started but returned exit code = 13" error with java path files is displayed.
I am using "android studio (beta)0.89"
I fixed this problem on my Windows 7 computer by installing the 64 bit version of Java 8. I did not have to uninstall or downgrade Java.
Be careful when downloading the Java installation. According to this FAQ, you will probably end up with 32 bit if you use the default installation.
Manually select the 'Windows Offline (64-bit)' version here, rather than letting the Java website choose for you.
This has happened to me just now after installing the latest Java version (v8) which for some reason only comes with 32-bit support while my PC is 64-bit.
I fixed the issue by uninstalling the version 8 of Java which automatically downgraded to Java 7 and it works fine.
I have been able to fix this issue by uninstalling the 32-bit Java 8 version I had, and then installing the latest 64-bit Java 8 version instead. (I didn't have to downgrade)
I think you are trying to open the wrong version of the monitor.exe it might have been changed during an upgrade. Under sdk/tools/lib there should be both the 32 and 64 bit versions under the "monitor-x86 or _64" folder. try either one if it works good. If you want to download the 64bit java version you must use a 64 bit browser. example in IExplorer 11 + you can change it back to 32 bit and back to 64 bit when needed. I did try the java upgrade before and was still getting the java error.
Install both 32 and 64 bit of Java 8. That fixed it for me.
Follow the path provided in the error pop-up. Add the java path in the eclipse.ini file located in the monitor folder in android studio.
Add : -vm
C:\Program Files\Java\jre7\bin\java.exe(Path to your current java file)
Before: -vmargs
If you are running win8.X just go to control panel and uninstall the java 8 version and after everything works fine.
I ran into this issue, even though I had the latest x64 build of the Java 8 JDK installed and set to the JAVA_HOME environment variable.
For me at least, the first line of the error popup shows that it is using Oracle's symlink at C:\ProgramData\Oracle\Java\javapath to find the correct location of javaw.exe. In my case, this was actually pointing to the x86 build of the same version of the JRE, which I also had installed for some reason.
I ended up cleaning house and uninstalling all versions of JRE/JDK, and then reinstalling the latest x64 JDK. This realigned the symlinks, and now it's running smoothly.
Most of the other answers should help resolve this same problem, but for diagnostic purposes if you do have the x64 version installed already, it will probably help to check C:\ProgramData\Oracle\Java\javapath.
[SOLUTION]
Go to following file in your android SDK
Sdk\tools\lib\monitor-x86_64\monitor.ini
and add following line, you might have to change the path to your java
-vm C:\Program Files\Java\jre7\bin\java.exe
just before "-vmargs "
Found solution:
Uninstall Java 8 Update (64-bit)
Install Java 7 Update 71 (64 bit)
I also downgraded JDK from 8 to 7, but it might be not required