ITADN

CLI suggests incorrect command (`pnpm run dev` instead of `pnpm run serve`)

#7557OpenVanshikaSabharwal 创建于 2026-04-28
buggood first issueno-issue-activitysecuritydependencies
**Describe the bug** The CLI outputs an incorrect command for running the project. It suggests using pnpm run dev, while the actual script defined/expected is pnpm run serve. **To Reproduce** Steps to reproduce the behavior: 1. Run the command: `./scripts/install.sh` 2. Observe the output in the terminal 3. The CLI suggests: `pnpm run dev` 4. However, the correct command should be: `pnpm run serve` **Expected behavior** The CLI should display the correct command that matches the project configuration: ```bash pnpm run serve ``` **Actual behavior** The CLI incorrectly suggests: ```bash pnpm run dev ``` which may not exist in the project's `package.json` scripts. **Screenshots** <img width="1365" height="462" alt="Image" src="https://github.com/user-attachments/assets/458aa180-a72b-4130-b0fd-4ccde1d31062" /> **Additional details** - This inconsistency can confuse users and lead to execution errors. - Suggested fixes: - Update the CLI output to use `pnpm run serve`, or - Update the project configuration to include `dev` script if that is the intended standard.
6 条评论