Failed DNS lookup in javascript build script

you don’t have access to the network during the build. Any package that needs to be downloaded should be listed as a “source”

for electron / node there is a flatpak-builder-tools that allow generating such a manifest.