Shopify / shopify-app-template-node

MIT License
860 stars 393 forks source link

Incorrect Documentation in README.md #1316

Closed tawanda-profuse closed 5 months ago

tawanda-profuse commented 5 months ago

Issue summary

The command for installing the shopify-app-template-node using npm is incorrect. This command can be found under the heading that says Installing the template.

The error in the console:

npm error: no such flag -- --template=node

Expected behavior

After running this command, it is expected that all the dependencies will be installed.

Actual behavior

An error is displayed in the console and no dependencies are installed.

Steps to reproduce the problem

  1. Clone this repository
  2. Run the command: npm init @shopify/app@latest -- --template=node

Correction

The command that works is npm init @shopify/app@latest --template=node.

matteodepalo commented 5 months ago

Closing as a duplicate of https://github.com/Shopify/shopify-app-template-node/issues/1317