-
Notifications
You must be signed in to change notification settings - Fork 877
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
Proxy options are passed to npx as extra arguments #1030
Comments
Should have added that the |
I see what went wrong. In issue 1005, it was requested to handle such options. But it was done the wrong way in 0e2b66d. These options need to go before the command, like
c.f. npm exec. From npm version 8, it seems that the |
I just ran into this bug as well.
|
I added a reproducible case here: #1120 (comment) |
Do you want to request a feature or report a bug?
A bug
What is the current behavior?
With proxies specified in maven, the proxy options are passed to npx as file names, i.e. after the
--
. This is seen in this log snippet on the line 3. The application fails on line 8 when it tries to open a file using the--https-proxy
option as file name.If the current behavior is a bug, please provide the steps to reproduce.
In your
~/.m2/settings.xml
file, set up proxies likeIn your
pom.xml
specifyWhat is the expected behavior?
The proxy options are passed before the
--
, or the--
is omitted altogether.Please mention your frontend-maven-plugin and operating system version.
Plugin version is 1.12.1
Output at the start of Maven execution should show it all
The text was updated successfully, but these errors were encountered: