You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are behind a corporate firewall that block all .exe files and on our windows dev OS we can't install the NodeJs binary.
I see that if the npmVersion attribut is not set the plugin use instead of the win64 *.tar.gz and put the node.exe in ./node directory but not the npm binaries (npm and npm.cmd).
Consequently plugin use the global npm bin and there are somes warn :
[INFO] npm WARN lifecycle The node binary used for scripts is C:\workspaces\sample\node\node.exe
but npm is using C:\Program Files\nodejs\node.exe itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
I make a trick to use a maven Ant task copy and play with the Maven lifecycles phase:
It's possible to upload the binaries to your internal Nexus repository (if you have one?) and download them from there instead, to circumvent the firewall.
Otherwise, I would suggest making an opening in the firewall, for fetching these binaries.
Hi team,
We are behind a corporate firewall that block all
.exe
files and on our windows dev OS we can't install the NodeJs binary.I see that if the
npmVersion
attribut is not set the plugin use instead of the win64*.tar.gz
and put thenode.exe
in./node
directory but not thenpm
binaries (npm and npm.cmd).See NPMInstaller
Consequently plugin use the global npm bin and there are somes warn :
I make a trick to use a maven Ant task copy and play with the Maven lifecycles phase:
but that's not the ideal.
Can you add an option to use and copy the npm binaries provided by the node archive even if the
npmVersion
is not set?Regards,
Nicolas
The text was updated successfully, but these errors were encountered: