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
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
Hey @etaylork, is this an old app? I noticed that you are not using workspaces, which were introduced more than 1 year ago for new projects.
When not using workspaces in an app project, the CLI is forced to install dependencies for each extension independently, which in this case is failing by not finding git.
Three possible solutions:
Easiest one: Run app build with the flag --skip-dependencies-installation
Root cause: the error seems to indicate that you don't have git in your system, can this be the issue?
Migrate your app to use workspaces. This might depend on your app, here is the doc for yarn workspaces. This migration would involve creating package.json files for your extensions either manually or regenerating them via app generate extension.
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
app installs dependencies when running
shopify app build
I am receiving the following error
@shopify/cli/3.68.0
npm v20.10.0
Actual behavior
Expected for dependencies to download and dev environment to start up for shopify app
Verbose output
Reproduction steps
shopify app dev
Operating System
Mac OS
Shopify CLI version (check your project's
package.json
if you're not sure)@shopify/cli/3.68.0
Shell
zsh
Node version (run
node -v
if you're not sure)v20.10.0
What language and version are you using in your application?
Typescript
The text was updated successfully, but these errors were encountered: