Merge pull request #192817 from pbsds/polaris-web-fix-parcel
polaris-web: fix breakage due to nodejs v16->v18 upgrade
This commit is contained in:
commit
e18192eac2
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
export PATH="${nodeDependencies}/bin:${nodejs}/bin:$PATH"
|
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 .
|
ln -s ${nodeDependencies}/lib/node_modules .
|
||||||
npm run production
|
npm run production
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue