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 machine it shows:
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 nexe documentation in Github 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.
I had the same situation and still used the --build. It takes some time only once (as in the future it has already downloaded all it needs) and after that builds it lightning fast every time so I strongly recommend trying the "uncomfortable" way next time as well.