Build Failed After Change to Dockerfile Then Back to Nixpacks Builder
Hello, I am trying to deploy my turborepo apps with Dockerfile, but it seems not successful yet. So, I decided to go back to Nixpacks builder. But somehow, there is errors occurred and build always failed. This below the error message
This error above is came from Nixpacks builder
Solution:Jump to solution
This is an issue with the latest version of Node.js's Corepack tool, you can use this
nixpacks.toml
to fix it:
```toml
[phases.install]
cmds = ["npm install -g [email protected] && corepack enable", "yarn install --check-cache"]
dependsOn = ["setup"]...6 Replies
Project ID:
dce34f28-7052-4a65-bbd4-6fc142db4a38,dce34f28-7052-4a65-bbd4-6fc142db4a38,dce34f28-7052-4a65-bbd4-6fc142db4a38,dce34f28-7052-4a65-bbd4-6fc142db4a38
Solution
This is an issue with the latest version of Node.js's Corepack tool, you can use this
nixpacks.toml
to fix it:
Hopefully they'll release a bug fix soon.
thank you @aleks , I'm trying to redeploy all my projects web. thank you for you support and quick response
no problem! I hope that solved the problem.
great, finally it works. thanks again!