Jamey Nakama
06/29/2021, 5:22 PM#11 51.92 ✔ Installed the @prisma/client and prisma packages in your project
#11 51.92 Error: Could not resolve @prisma/client.
#11 51.92 Please try to install it with npm install @prisma/client and rerun prisma generate 🙏.
That might not be enough to know what’s going on, due to our own setup, but changing nothing but the version makes our builds fail.
Does anything stand out to anyone based on the versions?janpio
janpio
DEBUG=*
or DEBUG=prisma*
and run the process again?janpio
janpio
Jamey Nakama
06/29/2021, 6:09 PMprisma
in dev dependencies, which had been working for all versions till now. I moved that alongside the client, and our builds are green again.janpio
janpio
janpio
janpio
package.json
lives, if some monorepo or pnpm stuff is in the game, or if there is anything else weird or special.Jamey Nakama
06/29/2021, 6:27 PMJamey Nakama
06/29/2021, 6:27 PMJamey Nakama
06/29/2021, 6:28 PMCOPY package*.json /
RUN npm ci
COPY . /service/
WORKDIR /service/
RUN npx prisma generate
RUN npm run build
janpio
janpio
janpio
Jamey Nakama
06/29/2021, 6:30 PMRyan
06/30/2021, 4:45 AMNODE_ENV
to production anywhere?Jamey Nakama
07/08/2021, 4:04 PM