Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Even though we didn’t change anything in the Dockerfile and the pnpm-lock.yaml files, we suddenly started getting the following error:
##[error]#9 0.317 /bin/sh: pnpm: not found.
I also tried running the following commands and then retried, but it didn’t help:
rm -rf node_modules pnpm-lock.yaml
pnpm install
pnpm build
After, modified the Dockerfile as below, but then I got this error:
RUN npm install -g pnpm
Build the application from source
WORKDIR /src
COPY . /src
RUN chmod -R 777 /src
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store --mount=type=cache,id=pnpm-metadata,target=/root/.cache/pnpm/metadata pnpm install --frozen-lockfile
RUN pnpm build
##[error]------
##[error] > [builder 5/13] RUN pnpm install --frozen-lockfile:
##[error]3.624 Scope: all 18 workspace projects
##[error]3.702 ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation. The current “overrides” configuration doesn’t match the value found in the lockfile
##[error]3.702
##[error]3.702 Update your lockfile using “pnpm install --no-frozen-lockfile”
I also tried running the following commands and then retried, but it didn’t help:
When I check the package.json and pnpm-lock.yaml files, I can’t see any issues. Could you please help us with this problem?
Information on your n8n setup
- n8n version:: Version 1.59.3
- **Database (default: SQLite):Postgre
- **Running n8n via (Docker, npm, n8n cloud, desktop app):docker