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

docs: Add --yes to npx commands #941

Merged
merged 1 commit into from
Sep 30, 2024
Merged

docs: Add --yes to npx commands #941

merged 1 commit into from
Sep 30, 2024

Conversation

theothertomelliott
Copy link
Contributor

When setting up a new repo using these instructions, I was initially confused because the Tailwind css wasn't being updated when started with make live. Hitting Ctrl+C was also hanging due to the same wait.

Adding the --yes flag allowed the commands to proceed if installation was required. I didn't add any additional explanation, but happy to include some elaboration if preferred.

If node dependencies haven't been installed, the commands will hang waiting for confirmation in the background.

Adding this flag allows them to proceed without user input.
@a-h
Copy link
Owner

a-h commented Sep 30, 2024

Thanks, you're right. The commands work OK if you already have a package.json and have run npm i, but not if you're starting from scratch, and that isn't clear in the docs.

@a-h a-h merged commit e59640f into a-h:main Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants