a year ago
I have a Nuxt 3 app with pnpm package manager.
During build, this error happened.
╔═══════════════════════ Nixpacks v1.31.0 ═══════════════════════╗
║ setup │ nodejs_22, pnpm-9_x ║
║────────────────────────────────────────────────────────────────║
║ install │ npm install -g corepack@0.24.1 && corepack enable ║
║ │ pnpm i --frozen-lockfile ║
║────────────────────────────────────────────────────────────────║
║ build │ pnpm run build ║
║────────────────────────────────────────────────────────────────║
║ start │ pnpm run start ║
╚════════════════════════════════════════════════════════════════╝
...
#10 [stage-0 6/11] RUN --mount=type=cache,id=s/8273ee78-2f6a-4c6f-b200-724193a7458d-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 npm install -g corepack@0.24.1 && corepack enable
#10 0.204 npm warn config production Use --omit=dev instead.
#10 0.856
#10 0.856 changed 1 package in 682ms
#10 DONE 1.1s
#11 [stage-0 7/11] RUN --mount=type=cache,id=s/8273ee78-2f6a-4c6f-b200-724193a7458d-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 pnpm i --frozen-lockfile
#11 1.376 Scope: all 9 workspace projects
#11 1.481 WARN Ignoring not compatible lockfile at /app/pnpm-lock.yaml
#11 1.485 ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation. The current "patchedDependencies" configuration doesn't match the value found in the lockfile
#11 1.485
#11 1.485 Update your lockfile using "pnpm install --no-frozen-lockfile"
#11 ERROR: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not complete successfully: exit code:
ⓘ Deployment information is only viewable by project members and Railway employees.
5 Replies
a year ago
I suspect it because of the pnpm version mismatch, let me see...
a year ago
idk why but updating version
"packageManager": "pnpm@9.15.4",in package.json helped
Status changed to Solved ray-chen • over 1 year ago
a year ago
Any resolution to this - Is Railway not supporting pnpm 9 yet.
Status changed to Awaiting Railway Response Railway • about 1 year ago
kauthon
Any resolution to this - Is Railway not supporting pnpm 9 yet.
a year ago
Hey! Could u open a new thread please? Since this post, Railway introduced Railpack to replace Nixpacks.
If you could attach more info in the new post it would be nice!
Status changed to Solved medim • about 1 year ago
a year ago
so you want me touse railpack instead of nixpack
Status changed to Awaiting Railway Response Railway • about 1 year ago
Status changed to Closed brody • about 1 year ago