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
node2nix runs fine but when I execute npm run build later to build the application, it complains that @esbuild/linux-arm64 and @rollup/rollup-linux-arm64-gnu are missing. If I add them to the package.json and run everything again, it works fine.
Now to the issue: It just works for Linux ARM64, if the same flake tries to build on e.g. Darwin, it fails because the Linux ARM64 packages cannot be installed. The package.json below shows the issue. I need the native deps for each platform but they are mutually exclusive.
Hi!
I try to build a project with
esbuild
androllup
. Take the followingpackage.json
as an example.node2nix
runs fine but when I executenpm run build
later to build the application, it complains that@esbuild/linux-arm64
and@rollup/rollup-linux-arm64-gnu
are missing. If I add them to thepackage.json
and run everything again, it works fine.Now to the issue: It just works for Linux ARM64, if the same flake tries to build on e.g. Darwin, it fails because the Linux ARM64 packages cannot be installed. The
package.json
below shows the issue. I need the native deps for each platform but they are mutually exclusive.Any idea how to solve this issue?
Full flake.nix: https://github.com/kellnr/kellnr/blob/static-build/flake.nix
The text was updated successfully, but these errors were encountered: