Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Documentation in README.md #1317

Closed
tawanda-profuse opened this issue Feb 7, 2024 · 6 comments
Closed

Incorrect Documentation in README.md #1317

tawanda-profuse opened this issue Feb 7, 2024 · 6 comments

Comments

@tawanda-profuse
Copy link

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
Copy link

matteodepalo commented Feb 8, 2024

Hi @tawanda-profuse, thank you for opening this issue. Unfortunately I cannot reproduce it. What version of node do you have and what operating system are you using?

@tawanda-profuse
Copy link
Author

tawanda-profuse commented Feb 8, 2024 via email

@matteodepalo
Copy link

What terminal program are you using? I cannot reproduce this with PowerShell, windows 11 and node 18.

@tawanda-profuse
Copy link
Author

tawanda-profuse commented Feb 9, 2024 via email

@matteodepalo
Copy link

Hi @tawanda-profuse, I cannot reproduce this, I have a feeling the error you're facing has to do with your personal setup, maybe you're aliasing npm? The docs clearly state that in order to pass additional arguments to the command, the arguments need to be separated by --.

@tawanda-profuse
Copy link
Author

tawanda-profuse commented Feb 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants