Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure compatibility with NPM 7 and 8 #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

driehle
Copy link
Contributor

@driehle driehle commented Aug 2, 2022

@MatteoMeil

The field process.env.npm_config_argv was removed with NPM 7, leading to issues during the installation of this package. This commit updates the package to rely on the NODE_ENV during installation.

See also https://github.com/npm/rfcs/blob/main/implemented/0021-reduce-lifecycle-script-environment.md and npm/cli#1995.

It would be great if you could merge and release!

The field `process.env.npm_config_argv` was removed with NPM 7,
leading to issues during the installation of this package. This
commit updates the package to rely on the `NODE_ENV` during
installation.

See https://github.com/npm/rfcs/blob/main/implemented/0021-reduce-lifecycle-script-environment.md.
@driehle driehle mentioned this pull request Aug 2, 2022
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.

1 participant