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

vue template script buggy #472

Closed
ahkui opened this issue Mar 18, 2024 · 2 comments
Closed

vue template script buggy #472

ahkui opened this issue Mar 18, 2024 · 2 comments

Comments

@ahkui
Copy link

ahkui commented Mar 18, 2024

  1. create new project with npm create vue@latest
  2. build static file with .env.ci file

the second step i have try under command:

  • npm run build -- --mode ci (not working)
    image
  • npm run build-only -- --mode ci (working)
    image
  • npm run build -- -- --mode ci (working)
    image

from this document, i think the build script need do some change

"build": "run-p type-check \"build-only {@}\" --" change to "build": "run-p type-check \"build-only -- {@}\" --"
image

@Yordan-Ramchev
Copy link
Contributor

Different package managers (npm, yarn, pnpm & bun) are not handling CLI the same way.

Related:

  1. The 'build' command in the template/config/typescript/package.json file may be incorrect. #393
  2. fix: Correct the 'build' command in the package.json file. #394

@cexbrayat
Copy link
Member

Yes, as @Yordan-Ramchev pointed out, this is a duplicate of #393
Let's track the older one and close this one.

@cexbrayat cexbrayat closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 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

No branches or pull requests

3 participants