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

error: Missing Comma in package.json Scripts Section (Syntax Error) #35402

Open
NawazTalha opened this issue Mar 5, 2025 · 0 comments · May be fixed by #35403 or #35404
Open

error: Missing Comma in package.json Scripts Section (Syntax Error) #35402

NawazTalha opened this issue Mar 5, 2025 · 0 comments · May be fixed by #35403 or #35404

Comments

@NawazTalha
Copy link

The scripts section in package.json is missing a comma between "dev" and "build-preview". This results in a JSON syntax error, breaking package installation and script execution.

Steps to Reproduce

Open packages/package.json.est.t
Go to the "scripts" section
Observe the missing comma between "dev" and "build-preview"

Errors it would cause

  • When running npm install or yarn install, the package manager will fail to parse package.json
  • This stops dependency installation and makes the package unusable.

Image

@NawazTalha NawazTalha changed the title chore : Missing Comma in package.json Scripts Section (Syntax Error) error: Missing Comma in package.json Scripts Section (Syntax Error) Mar 5, 2025
@NawazTalha NawazTalha linked a pull request Mar 5, 2025 that will close this issue
omaraymanatia added a commit to omaraymanatia/Rocket.Chat that referenced this issue Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant