Shopify/shopify-app-template-node

Error: "Only remix, none template aliases are supported" when initializing node template app

Oteiza-a opened this issue · 1 comments

Issue summary

I need to create a new shopify app using shopify-cli with the node template, but seems like after the new update, the cli doesn't support the any other template that isn't remix.

Is shopify removing support from any template that is not remix? Is this something definitive?

  • @shopify/shopify-app-express version: N/A
  • Node version: v18.14.1
  • Operating system: MacOs Ventura 13.4
~ npm init @shopify/app@latest -- --template --node
╭─ error ──────────────────────────────────────────────────────────────────────╮
│                                                                              │
│  Only remix, none template aliases are supported                             │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

Expected behavior

It is expected for the cli to initialize a shopify app with the node template.

Actual behavior

Getting an error when I run the npm init @shopify/app@latest -- --template --node command in the terminal:
Only remix, none template aliases are supported

Steps to reproduce the problem

1.- Open a terminal with a node version v18.14.1
2.- Run the npm init @shopify/app@latest -- --template --node
3.- Error Only remix, none template aliases are supported will appear.

Hi there 👋

This command should work! 😄

npm init @shopify/app@latest -- --template=node