-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker with pnpm install
hangs on @prisma/client
postinstall
#11791
Comments
Workaround for now: Set Or a different target (seems that any value works there)
|
pnpm install
hangs on @prisma/client postinstall
pnpm install
hangs on @prisma/client postinstall pnpm install
hangs on @prisma/client
postinstall
I have this today with:
Possibly notable, I'm in a monorepo with an
|
same here |
Hey folks, we have just improved our |
Humm, still happening to me with Setting |
For anyone else googling this issue that isn't pnpm. My post-install was getting stuck because I had @prisma/generator-helper with a mismatched version to the other prisma packages. |
|
@gamedevsam @WesleyYue @erlangparasu please create a new issue with some reproduction steps. Also, you can try to debug by setting an environment variable before hand |
…enerate package-lock.json files for the projects. Issue is mentioned here: prisma/prisma#11791 (comment)
The main issue here is that the post-install script What worked for me :FROM node:16
ARG DATABASE_URL
WORKDIR /app
COPY . .
# Install app dependencies
RUN yarn install --ignore-scripts
RUN npx prisma generate
RUN yarn build
RUN apt-get install chromium -y
RUN apt-get install libreoffice -y
EXPOSE 8000
ENV PORT 8000
CMD [ "yarn", "start:prod" ]
|
Bug description
See pnpm/pnpm#4329 and below
How to reproduce
Create an empty directory with a
Dockerfile
Run
docker build . --progress=plain --no-cache
Expected behavior
It should produce a Docker build.
Environment & setup
pnpm 6.30.1
The text was updated successfully, but these errors were encountered: