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:
Mario Rodas 2022-09-24 15:07:41 -05:00 committed by GitHub
commit e18192eac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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