no such file or directory, open '/root/.cache/node/corepack/lastKnownG
I am getting this error "0.448 Internal Error: ENOENT: no such file or directory, open '/root/.cache/node/corepack/lastKnownGood.json'" in build logs.
Solution:Jump to solution
please try this nixpacks.toml file instead
```toml
[phases.install]
cmds = ["npm install -g [email protected] && corepack enable", "pnpm i --frozen-lockfile"]
dependsOn = ["setup"]...
13 Replies
Project ID:
f6d5a457-2bbc-4934-a848-07a4717c65d5
Project ID: f6d5a457-2bbc-4934-a848-07a4717c65d5
please see this message https://discord.com/channels/713503345364697088/1209424734547083366/1209456369258995732
I've updated with nixpack.toml and getting this now
ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm install -g [email protected] && corepack enable" did not complete successfully: exit code: 1
Nixpack file
[phases.install]
cmds = ["pnpm install -g [email protected] && corepack enable", "pnpm install --check-cache"]
dependsOn = ["setup"]
full build logs please https://bookmarklets.up.railway.app/log-downloader/
can you send me the latest build logs for the last build that worked without issue?
Solution
please try this nixpacks.toml file instead
Failed
please make sure your lock file is in sync
Solved now. thanks
no problem!