Skip to content

npm v12 removes command-line options#3261

Open
cclauss wants to merge 1 commit intonodejs:mainfrom
cclauss:npm_--msvs-version__and_--python
Open

npm v12 removes command-line options#3261
cclauss wants to merge 1 commit intonodejs:mainfrom
cclauss:npm_--msvs-version__and_--python

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Jan 4, 2026

Fixes: #3260

Checklist
  • npm install && npm run lint && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

@cclauss cclauss force-pushed the npm_--msvs-version__and_--python branch 8 times, most recently from e6fc058 to f847da5 Compare January 5, 2026 07:59
@cclauss cclauss marked this pull request as ready for review January 30, 2026 10:34
@lukekarrys lukekarrys self-requested a review January 30, 2026 18:40
@cclauss cclauss force-pushed the npm_--msvs-version__and_--python branch from 1a17da7 to 7830684 Compare February 5, 2026 13:47
@cclauss cclauss force-pushed the npm_--msvs-version__and_--python branch from 7830684 to eecb0d9 Compare February 5, 2026 13:50
@nodejs nodejs deleted a comment from mufasacubana8-pixel Feb 6, 2026
@cclauss cclauss requested a review from lukekarrys February 7, 2026 12:03
matrix:
include:
- os: windows-2022
msvs-version: 2022
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all 3 msvs-version can be removed since it no longer used.

- name: Run Node tests
shell: pwsh
run: npm run test --python="${env:pythonLocation}\\python.exe" --msvs-version="${{ matrix.msvs-version }}"
shell: bash # Building wasm on Windows requires using make generator, it only works in bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests.yml already use bash. Maybe this stays on pwsh, since bash maybe available on windows machine.

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.

npm v12 drops support for --msvs-version=[year] and --python=[path]

3 participants