Shopify / Shopify/shopify-app-template-php
Can not create new app with shopify-cli after new update
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 340
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
Issue summary
I need to create a new shopify app using Shopify-cli after the new update cli can not support PHP templates allies is supported.
Expected behaviour
Create a Shopify PHP app using Shopify-cli.
Actual behaviour
Getting an error when I run the bellow command in the terminal.
Only remix, none template aliases are supported
Steps to reproduce the problem
Node: v18.12.1
npm: 8.19.2
then run below command
- npm init @shopify/app@latest -- --template php
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with Node v18.12.1 and npm init @shopify/app@latest -- --template php, then trace where the Shopify CLI validates template aliases. Confirm how the PHP template is registered and make the command create a PHP app without the unsupported-alias error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, php
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100