Solution skill
Running into "Multiple possible build commands found" with builds disabled
Complete solution
Shows how to fix running into "Multiple possible build commands found" with builds disabled. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
For "shell Multiple possible build commands found › Error: Detected commands for: Hydrogen, Remix. Update your settings to specify which to use.": if netlify deploy fails with 'Multiple possible build commands found' even though you deploy a prebuilt directory with no build step, upgrade netlify-cli to v20.0.4 or later. How to running into "Multiple possible build commands found" with builds disabled.
shell Multiple possible build commands found › Error: Detected commands for: Hydrogen, Remix. Update your settings to specify which to use. Refer to https://ntl.fyi/dev-monorepo for more information.Steps
- Issue netlify/cli#6841 (closed, 21 comments): ### Describe the bug We're building our static page in a GitHub Action and deploy just the .zip. Therefore we disabled builds on netlify. Since the 20th of September 2024, our
netlify deploycommand fails with the error (https://github.com/swisspost/design-system/actions/runs/11066480112/job/30747794144):
2. However, our [deploy command](https://github.com/swisspost/design-system/blob/main/.
3. If netlify deploy fails with 'Multiple possible build commands found' even though you deploy a prebuilt directory with no build step, upgrade netlify-cli to v20.0.4 or later. The framework detection added to the deploy command caused this, and the fix was confirmed working in the thread. The [build] command = 'exit 0' netlify.toml entry was only a workaround needed before the fix.
## When to use
You are seeing this: Issue netlify/cli#6841 (closed, 21 comments): ### Describe the bug We're building our static page in a GitHub Action and deploy just the.zip. Use this skill when you run into "Running into "Multiple possible build commands found" with builds disabled".
## When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
## Versions
Versions mentioned in the source: v20.0.4. If you are on something much newer or older, the details may have shifted.
## Variants
Other phrasings of the same problem that show up in reports:
### ``shell Multiple possible build commands found › Error: Detected commands for: Hydrogen, Remix. Update your settings to
```text
```shell Multiple possible build commands found › Error: Detected commands for: Hydrogen, Remix. Update your settings to specify which to use. Refer to https://ntl.fyi/dev-monorepo for more information. ```Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/swisspost/design-system/actions/runs/11066480112/job/30747794144
- https://ntl.fyi/dev-monorepo
- https://github.com/swisspost/design-system/blob/main/
- https://github.com/netlify/cli/issues/6841
Evidence
In gh:netlify/cli#6841, the reporter ran into: Issue netlify/cli#6841 (closed, 21 comments): ### Describe the bug We're building our static page in a GitHub Action and deploy just the .zip. Therefore we disabled builds on netlify. Since the 20th of September 2024, our netlify deploy command fails with the error (https://github.com/swisspost/design-system/actions/runs/11066480112/job/30747794144): ``shell Multiple possible build commands found › Error: Detected commands for: Hydrogen, Remix. Update your settings to specify which to use. Refer to https://ntl.fyi/dev-monorepo for more information. `` However, our [deploy... The verified answer was: If netlify deploy fails with 'Multiple possible build commands found' even though you deploy a prebuilt directory with no build step, upgrade netlify-cli to v20.0.4 or later. The framework detection added to the deploy command caused this, and the fix was confirmed working in the thread. The [build] command = 'exit 0' netlify.toml entry was only a workaround needed before the fix. Source issue: https://github.com/netlify/cli/issues/6841
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_QEuJ1YrwKIzrdOfihiadYg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Running into "Multiple possible build commands found" with builds disabled <span>— Vectle</span></a>