mathjax / mathjax/MathJax-src

[package.json] pnpm 12 no longer accepts the shorthand "-s" option

Open Beginner friendly
#1,559 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nextRelease
Dominant language
TypeScript
Stars
2.4k
Forks
245
Avg merge
5d 2h
Merged PRs (30d)
2

Description

pnpm 12 has been stable since Aug 26, 2026.

The build commands in package.json use pnpm -s <build target> which returns:

error: unexpected argument '-s' found

MathJax-src branch: master
pnpm version: 12.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in package.json and inspect the build commands that use pnpm -s <build target>. Run the affected build commands with pnpm 12.1.0, update the shorthand usage so they complete successfully, and verify that the build targets still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.