Skip to content

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

@cclauss

Description

@cclauss

npm cli v12 will drop support for these two command-line options.

% npm --msvs-version=2022 --python=/usr/bin/python3 --version

npm warn Unknown cli config "--msvs-version". This will stop working in the next major version of npm.
npm warn Unknown cli config "--python". This will stop working in the next major version of npm.
npm warn Unknown user config "node_gyp". This will stop working in the next major version of npm.
11.6.2

Warnings under step 5 Run Node tests:

https://github.com/search?q=repo%3Anodejs%2Fnode-gyp+--msvs-version
https://github.com/search?q=repo%3Anodejs%2Fnode-gyp+--python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions