-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
Environment
OS: Windows 11
Shell: Powershell
Shopify CLI 3.76.2
Node v22.13.1
Steps to Reproduce
- Open Powershell
shopify app init --template https://github.com/Shopify/subscriptions-reference-app
Expected Result
Reference app is cloned and dependencies are installed.
Actual Result
> shopify app init --template https://github.com/Shopify/subscriptions-reference-app
? Which organization is this work for?
√ REDACTED
? Create this project as a new app on Shopify?
√ No, connect it to an existing app
? Which existing app is this for?
√ REDACTED
╭─ info ───────────────────────────────────────────────────────────────────────╮
│ │
│ Initializing project with `npm` │
│ Use the `--package-manager` flag to select a different package manager. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ tag "schema" not found, line:133, col:1 │
│ │
│ To investigate the issue, examine this stack trace: │
│ at parseToken (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@sh │
│ opify/cli/dist/index.js:63438) │
│ at parseTokens (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@s │
│ hopify/cli/dist/index.js:63419) │
│ at parse (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify │
│ /cli/dist/index.js:63413) │
│ at parse (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify │
│ /cli/dist/index.js:64606) │
│ at renderLiquidTemplate (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_m │
│ odules/@shopify/cli/dist/index.js:187544) │
│ at (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify/cli/d │
│ ist/index.js:187561) │
│ at all │
│ at async recursiveLiquidTemplateCopy (Users/<USER>/AppData/Roaming/nvm/v2 │
│ 2.13.1/node_modules/@shopify/cli/dist/index.js:187552) │
│ at task (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify/ │
│ cli/dist/index.js:193090) │
│ at async runTask2 (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules │
│ /@shopify/cli/dist/chunk-3UYXKXR6.js:30882) │
│ at assert (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopif │
│ y/cli/dist/index.js:61773) │
│ at parseToken (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@sh │
│ opify/cli/dist/index.js:63434) │
│ at parseTokens (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@s │
│ hopify/cli/dist/index.js:63419) │
│ at parse (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify │
│ /cli/dist/index.js:63413) │
│ at parse (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify │
│ /cli/dist/index.js:64606) │
│ at renderLiquidTemplate (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_m │
│ odules/@shopify/cli/dist/index.js:187544) │
│ at (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify/cli/d │
│ ist/index.js:187561) │
│ at all │
│ at async recursiveLiquidTemplateCopy (Users/<USER>/AppData/Roaming/nvm/v2 │
│ 2.13.1/node_modules/@shopify/cli/dist/index.js:187552) │
│ at task (Users/<USER>/AppData/Roaming/nvm/v22.13.1/node_modules/@shopify/ │
│ cli/dist/index.js:193090) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Additional Information
This appears to be an issue only in this Windows environment. When I run the same command on Ubuntu in WSL, the app is cloned and dependencies are installed successfully.
Another developer has also reported this problem in the community here: https://community.shopify.com/c/shopify-apps/unable-to-clone-shopify-subscriptions-reference-app/td-p/2931661
Reactions are currently unavailable