node-native-printer icon indicating copy to clipboard operation
node-native-printer copied to clipboard

Ensure compatibility with NPM 7 and 8

Open driehle opened this issue 3 years ago • 0 comments

@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 https://github.com/npm/cli/issues/1995.

It would be great if you could merge and release!

driehle avatar Aug 02 '22 18:08 driehle