"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.22k
stars
868
forks
source link
npx not in PATH when running as part of npm goal #1002
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Trying to build a project with a package.json that uses npm-force-resolutions via npx in
preinstall
:using the following Maven configuration:
fails when running in a GitLab CI build using official docker image
maven:3-jdk-11
If the current behavior is a bug, please provide the steps to reproduce.
Use a package.json that has a preinstall script that uses npx.
What is the expected behavior?
IMO npx should be on the PATH when
npm
goal is executed.Please mention your frontend-maven-plugin and operating system version.
frontend-maven-plugin: 1.12.0 OS: Linux x64 / Docker Image maven:3-jdk-11 (https://hub.docker.com/_/maven)