nvm can't switch node version - windows

I've got node version 16.15.0 and 14.19.3 installed ,but nvm can not switch version properlly.
can any one tell me why?
my OS version is windows10

Related

Installing Angular on Mac M1

I am having issues installing Angular I have a picture of my logs below.
I went to Nodejs.org installed newest version and It stays at version 16.8.0
I am not sure if this is an issue with Mac M1
Node version 16.8.0
Npm version 8.3.0
OS is macOS Big Sur versions 11.3.1
below is a link to my log messages of me trying to install Angular
Log Messages
any help or insight would be greatly appreciated.
Your node is not required updates. Angular 13.1.2 need 16.10.0 and your node version is v16.8.0. Update your node first with the below command
brew update
brew upgrade node

How to install-run Cytoscape v3.8.0 on OSX doesn't run

I have a problem with latest version of Cytoscape 3.8.0 It doesnt start. I can see only logo and than nothing. Computer is running OSX 10.13.6. I am using successfully version Cytoscape 3.7.2 but I want to upgrade. When I run script mac.sh I got following:
Target Cytoscape version: 3.8.0
Your shell is bash
Compatible OS version found: 10.13
Pass: OS Version = 10.13.6
Pass: Following Oracle JDK found:
/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk
Fail: Java is not reachable.
Try re-installing Java 11.
I can confirm that java is in place /Library/Java/JavaVirtualMachines and versions jdk-11.0.7.jdk jdk-12.0.2.jdk jdk-14.0.1.jdk
I guess that version 37 and 38 work with java 11? I have reinstalled java 11 with same results as before. Version 38 doesnt start. When I try to start version 38 from terminal with cytoscape.sh I got long error message which starts with:
Unable to find any JVMs matching version "1.8".
karaf.base: /Applications/Cytoscape_v3.8.0/framework
JAVA_HOME: null
ERROR: Error parsing system bundle export statement: org.osgi.dto;version="1.0",org.osgi.resource;version="1.0",org.osgi.resource.dto;version="1.0...
I can paste whole error message if needed.
Any idea what should i do? Thanx.
Cytoscape 3.7.x requires Java 8. Cytoscape 3.8.0 requires Java 11. It looks like your java home is incorrect. If you do:
/usr/libexec/java_home
it should point to your java 11 installation. On my mac it says:
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Note that the "/Contents/Home" is important. To set your actual JAVA_HOME, do
export JAVA_HOME=`/usr/libexec/java_home -v 11`
I had this same problem. What Scooter Morris mentioned is correct, but I had to follow an additional link on stack overflow to get it fixed.
This is exactly what I did:
In my case I had to run:/usr/libexec/java_home -V to see the Java Virtual Machines I have installed and specify the V 11 using:
export JAVA_HOME=`/usr/libexec/java_home -v 11.0.7`
Then running the ./mac.sh command tells me everything checks out and Cytoscape can finnaly run :)
Edit: I should add that I can only run cytoscape by launching it from the terminal via:
cd /Applications/Cytoscape_v3.8.0
./cytoscape.sh
Clicking the app icon only results in the app crashing on load but it appears to work fine by launching it from the script. I don't have this issue on Mac OS 10.14 so maybe its a software version issue or some background app in my computer is getting in the way of launching the app normally.

geth 1.9.6 updated using homebrew on Mac Catalina gives cannot execute binary file

I recently updated to Mac Catalina OS 10.15. Today I updated homebrew and then upgraded ethereum (geth) to v 1.9.6 using brew upgrade command.
After the update finished successfully, when I run geth I get "cannot execute binary file". (The older version of geth was working on Catalina)
It looks like the latest version of brew messes with the executable downloaded somehow.
I suspect this is a problem for any installs/upgrades done with new version of homebrew.
Does anyone have any solutions?
(Tip: for geth, I was able to download the executable from geth.ethereum.org/downloads and replace the binary - seems to work ok so far)

Version of node for Sidekick

I've just downloaded the latest Nativescript Sidekick. When I try to run it, I get the message that it is expecting:
"NodeJS >=8.0.0 <=10.5.0"
I'm using nvm, so I can switch node versions at will, but Sidekick appears to ignore this and pick up the latest (10.9.0 in my case). How does Sidekick detect the nodejs version? And how can I persuade otherwise???
After #GGarabedian confirmed that it worked with NVM for him, I played around a bit and discovered that Sidekick is looking for the NVM alias Stable.
So, by setting the alias to v8.11.0, Sidekick did work for me.
nvm alias stable v8.11.0
I have tested NativeScript Sidekick with the Node Version Manager and it appears to detect the currently selected Node version correctly. Can you verify if you have installed and selected a NodeJS version between 8.0.0 and 10.5.0 by running the node --version command in the Command Prompt?
Also, my tests were conducted on a Windows machine and it would be good to know if you are running on the same or different OS.

Mono on OS X shows old version after installing latest version

I just installed Mono 3.10.0 on OS X using the package from their website.
Before the installation I had installed 3.6.1.
After the installation of 3.10.0 mono --version still shows 3.6.1.
which mono returns /usr/local/bin/mono.
In /usr/local/bin/, mono refs to:
mono -> ../Cellar/kmono/3.6.1-10002/bin/mono.
Where can I find and activate my recently installed version 3.10.0?
~/Library/Frameworks/mono does not exist.
You have a custom mono in your /usr/local, which takes precedence over the one you just installed. You need to remove your custom one.
Your recently installed mono can be found in /usr (try /usr/bin/mono --version, and it will print 3.10)

Resources