Skip to content

--scripts-prepend-node-path should be removed #144

@silverwind

Description

@silverwind

This module passes --scripts-prepend-node-path to npm which has been removed with npm v7.0.0 (released 5 years ago), and npm warns that this may break in the next major version, so it should be removed.

[lsp_utils] START output of command: "ci --omit=dev --scripts-prepend-node-path=true --verbose"
npm verbose cli /opt/homebrew/Cellar/node@24/24.11.1/bin/node /opt/homebrew/bin/npm
npm info using npm@11.6.2
npm info using node@v24.11.1
npm warn Unknown cli config "--scripts-prepend-node-path". This will stop working in the next major version of npm.

'--scripts-prepend-node-path=true',

'--scripts-prepend-node-path=true',

I can't find the npm commit that removed the option but I did find npm/cli#3353 which removed the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions