diff --git a/Dockerfile b/Dockerfile index 6c59d841f..fafbcb590 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,6 +110,8 @@ RUN npm install -g pnpm && \ # Could be the specific version of `node:alpine`, but the `prepare` stage uses slim too. FROM node:18.7.0-slim@sha256:46f854a8f54b0460702602f45eca29aecc4c39135056e378fa7707a81da3744d AS test-integration +ENV NODE_OPTIONS=--experimental-specifier-resolution=node + # Update and install dependencies. # - `wget` is used for testing # - `procps` is required by `start-server-and-test` on `debian:slim` (https://github.com/bahmutov/start-server-and-test/issues/132#issuecomment-448581335) @@ -205,6 +207,7 @@ COPY --from=test-visual /srv/app/package.json /tmp/test-visual/package.json FROM node:18.7.0-slim@sha256:46f854a8f54b0460702602f45eca29aecc4c39135056e378fa7707a81da3744d AS production ENV NODE_ENV=production +ENV NODE_OPTIONS=--experimental-specifier-resolution=node # Update and install dependencies. # - `libdbd-pg-perl postgresql-client sqitch` is required by the entrypoint diff --git a/nuxt/pnpm-lock.yaml b/nuxt/pnpm-lock.yaml index 8cc0b61fc..a61509585 100644 --- a/nuxt/pnpm-lock.yaml +++ b/nuxt/pnpm-lock.yaml @@ -13271,7 +13271,6 @@ packages: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} dependencies: react-is: 16.13.1 - dev: true /hookable/5.1.1: resolution: {integrity: sha512-7qam9XBFb+DijNBthaL1k/7lHU2TEMZkWSyuqmU3sCQze1wFm5w9AlEx30PD7a+QVAjOy6Ec2goFwe1YVyk2uA==}