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

Update cli message with correct command #942

Merged
merged 2 commits into from
Oct 31, 2024
Merged

Conversation

r-cha
Copy link
Contributor

@r-cha r-cha commented Oct 30, 2024

With a fresh project, using SaaS template with frontend assets, the CLI instructs the user:

Next step, build your frontend:
  $ cd frontend/
  $ npm install && npm build

but this causes

Unknown command: "build"


Did you mean this?
  npm run build # run the "build" package script
To see a list of supported npm commands, run:
  npm help

The obvious fix is to print the proper message, npm run build.

@jondot jondot merged commit e748f55 into loco-rs:master Oct 31, 2024
15 of 16 checks passed
@r-cha r-cha deleted the patch-1 branch October 31, 2024 18:07
@jondot jondot added this to the 0.13.0 milestone Nov 9, 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