node-native-printer
node-native-printer copied to clipboard
Ensure compatibility with NPM 7 and 8
@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!