guijs icon indicating copy to clipboard operation
guijs copied to clipboard

Using nvm managing Node.js versions and said "Node.js was not found"

Open nanxiaobei opened this issue 5 years ago • 5 comments

nanxiaobei avatar Feb 22 '20 15:02 nanxiaobei

What is your OS and node version?

Akryum avatar Feb 22 '20 22:02 Akryum

I'm on MacOS 10.14.6, using nvm. I was able to make guijs work by installing node v12 using nvm, and then running nvm alias default 12. It seems that when you are using nvm, Tauri uses the default.

I'm locked on node v10 for work, so it would be nice to not have to switch my default alias to open guijs. I considered altering the node version check in tauri-app to try to switch to node 12 with nvm, but I also don't know that it's the responsibility of guijs to manage the environment, or what the implications would be on created projects.

jamesnw avatar Feb 23 '20 02:02 jamesnw

What is your OS and node version?

macOS 10.15.3 Node.js 13.8 (default) also has 12.10.0, 6.17.1

nanxiaobei avatar Feb 23 '20 13:02 nanxiaobei

same issue. not even using NVM. cannot start the app.

Node.js was not found on your system

Please install Node and NPM at nodejs.org

macOS 10.15.3 Node.js v12.16.1 NPM 6.14.0

mehrdadrafiee avatar Feb 26 '20 01:02 mehrdadrafiee

I have the same issue, I uninstalled nodejs using brew, and installed using the binary downloaded from the nodejs site, but no improvement... anyone any advice to get this running?

JamieMcDonnell avatar Jun 17 '20 13:06 JamieMcDonnell