🎥 Make videos programmatically with React
better docs for could not determine executable to run
Jonny Burger65fb232dfde7
diff --git a/packages/docs/docs/troubleshooting/could-not-find-executable-to-run.mdx b/packages/docs/docs/troubleshooting/could-not-find-executable-to-run.mdxindex 4e241e22eb..c857e57890 100644--- a/packages/docs/docs/troubleshooting/could-not-find-executable-to-run.mdx+++ b/packages/docs/docs/troubleshooting/could-not-find-executable-to-run.mdx@@ -1,7 +1,7 @@---image: /generated/articles-docs-troubleshooting-could-not-find-executable-to-run.pngtitle: Could not determine executable to run-crumb: "Troubleshooting"+crumb: 'Troubleshooting'---If you receive the following error:@@ -10,6 +10,17 @@ If you receive the following error:npm ERR! could not determine executable to run```+It could be for multiple reasons.++## Binary not installed++NPM binaries can have different names than the NPM package.++If you run `npx remotion`, and don't have `@remotion/cli` installed, it will fail because the `remotion` binary is supplied by the `@remotion/cli` package.+Check if you have the correct package installed.++## Corepack issue+It may be because you are using the `npx` command but the project is configured to use a different package manager.If [Corepack](https://www.totaltypescript.com/how-to-use-corepack) is enabled, the `packageManager` property in `package.json` matters:@@ -22,7 +33,7 @@ If [Corepack](https://www.totaltypescript.com/how-to-use-corepack) is enabled, tIf the package manager is set to something else than `npm`, then the `npx` command may give this error message.-## Resolution+### ResolutionUse the correct command runner for your project: