eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.2k stars 868 forks source link

Proxy Settings are passed to pnpm scripts as additional parameters #1121

Open Mettbrot opened 7 months ago

Mettbrot commented 7 months ago

Do you want to request a feature or report a bug? a bug What is the current behavior? Proxy parameters to scripts in pnpm are passt to the script, not to pnpm If the current behavior is a bug, please provide the steps to reproduce.

Mettbrot commented 7 months ago

This may be related to https://github.com/eirslett/frontend-maven-plugin/issues/1030 A workaround for this is to disable the proxy to be passed using:

                <configuration>
                  <pnpmInheritsProxyConfigFromMaven>false</pnpmInheritsProxyConfigFromMaven>
                </configuration>
123Haynes commented 7 months ago

https://github.com/eirslett/frontend-maven-plugin/pull/1120 fixes this issue. unfortunately it's not merged yet.