nexe/nexe

Not working with node version 15.8.0

Greensahil opened this issue · 1 comments

Nexe documentation says that it works with Node version 15.8.0 on Windows. So I used nvm to install and switch to node version 15.8.0 but when I run

nexe app.js on my windows 10 Pro machine it shows:

image

I do not want to use to --build flag to build from scratch as it seems to take a lot of time to build. The documentation says that:

The above works and has been tested with node.js 14.5.4 and 15.8.0

nvm does not support 14.5.4 version yet so I have not tried with that version but I am not sure why it is saying 15.8.0 is not supported when the documentation says it does.

Also wanted to add that I did do this.

Set-ExecutionPolicy Unrestricted -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1'))
get-boxstarter -Force
Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots

Along with:

npm config set msvs_version 2019
npm config set python python3.8

I apologize for my very not precise answer, but

From what I believe, these instructions are given if you want to build your node version yourself

Also wanted to add that I did do this.

Set-ExecutionPolicy Unrestricted -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1'))
get-boxstarter -Force
Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots

Along with:

npm config set msvs_version 2019
npm config set python python3.8

And another tip, I suggest you build it yourself, mainly because you only have to do it once. In case it won't build, try installing Visual Studio and see if it works!