You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx wrangler init
success Install finished in 6.256s
⛅️ wrangler 2.0.2
-------------------
Using npm as package manager.
✨ Created wrangler.toml
✘ [ERROR] Command failed with ENOENT: git --version
spawn git ENOENT
If you think this is a bug then please create an issue at https://github.com/cloudflare/wrangler2/issues/new.
The text was updated successfully, but these errors were encountered:
When a command isn't available on a system, calling `execa()` on it throws an error, and not just a non zero exitCode. This patches fixes the flow so we don't crash the whole process when that happens on testing the presence of `git` when calling `wrangler init`.
Fixes#950
repro https://stackblitz.com/edit/node-d5adxm?file=package.json&terminal=init
The text was updated successfully, but these errors were encountered: