You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
Running update-nexe worked. I’ve noticed that at some point the build script downloads https://sitejs.org/nexe/linux-x64-12.16.2 if you haven’t got a local .nexe for the version of Node you’re using to build Site.js. I guess those binaries aren’t very portable. Let me know if I can provide you with any debugging info that may be useful.
Ah, sorry, I use the install-locally task myself when testing out binaries locally (which will pop the site binary in /usr/local/bin. Will have a look at what build does by itself (it’s been a while since I touched it). It should, at the very least, be clearer about what it does.
Going to keep this open and look into it further as it should have worked for you. Will close after doing more testing with the latest Nexe after implementing support for it (Nexe 4 has just hit @latest).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I’m running Pop!_OS 20.10 and I’m using Node 12.16.2 (via nvm).
After running
npm run build
I get an executablesite
file indist/release/linux/<date-time>/site
as expected. However, inspecting the file I can see:The last line goes for very long
module.exports = version
See screenshots below.
Do I need to run
update-nexe
or run some other step to compile a proper binary?The text was updated successfully, but these errors were encountered: