polaris-web: fix breakage due to nodejs v16->v18 upgrade
This really should be fixed upstream, but this will have to suffice in the meanwhile.
This commit is contained in:
@@ -51,6 +51,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
export PATH="${nodeDependencies}/bin:${nodejs}/bin:$PATH"
|
||||
|
||||
# https://github.com/parcel-bundler/parcel/issues/8005
|
||||
export NODE_OPTIONS=--no-experimental-fetch
|
||||
|
||||
ln -s ${nodeDependencies}/lib/node_modules .
|
||||
npm run production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user