You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
npx: the --ignore-existing argument has been removed. #11963
2021-10-01 14:02:19.138 INFO 91272 --- [onPool-worker-1] c.v.flow.server.frontend.FrontendTools : using '/usr/local/bin/npx --yes --quiet --ignore-existing pnpm@5.18.10' for frontend package installation
npx: the --ignore-existing argument has been removed.
See `npm help exec` for more information
The npx binary was rewritten in npm v7.0.0, and the standalone npx
package deprecated at that time. npx uses the npm exec
command instead of a separate argument parser and install process, with
some affordances to maintain backwards compatibility with the arguments it
accepted in previous versions.
This resulted in some shifts in its functionality:
...
The --ignore-existing option is removed. Locally installed bins are
always present in the executed process PATH.
Activity
Artur- commentedon Oct 13, 2021
https://github.com/npm/cli/blob/latest/docs/content/commands/npm-exec.md#compatibility-with-older-npx-versions
The
npxbinary was rewritten in npm v7.0.0, and the standalonenpxpackage deprecated at that time.
npxuses thenpm execcommand instead of a separate argument parser and install process, with
some affordances to maintain backwards compatibility with the arguments it
accepted in previous versions.
This resulted in some shifts in its functionality:
...
--ignore-existingoption is removed. Locally installed bins arealways present in the executed process
PATH.fix: Do not use --ignore-existing which is only available in npm 6
fix: Do not use --ignore-existing which is only available in npm 6
fix: Do not use --ignore-existing which is only available in npm 6 (#…
fix: Do not use --ignore-existing which is only available in npm 6 (#…
fix: Do not use --ignore-existing which is only available in npm 6 (#…
vaadin-bot commentedon Dec 21, 2021
This ticket/PR has been released with platform 22.0.2.