Hello,
This is a classical problem with architecture incompatibility: https://stackoverflow.com/questions/57446579/executable-says-line-1-elf-not-found-when-starts
Probably if you make a remote-build for arm64 can be tha the same code is working. https://snapcraft.io/docs/remote-build
Because you are not cross compiling but just compiling.
Are you using the node plugin?
... View more