"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.
Oh, that could be a bit tricky... one "workaround" for now is to not use npx but instead use scripts in package.json and then do npm run-script... does that solve your specific problem?
Do you want to request a feature or report a bug?
Report a bug.
What is the current behavior?
After running
install-node-and-npm
, runningnpx cowsay wow
installscowsay
to the user globalnode_modules
directory and runs it from there.What is the expected behavior?
After running
install-node-and-npm
, runningnpx cowsay wow
should installcowsay
tonode/node_modules
in the project directory and run it from there.Please mention your frontend-maven-plugin and operating system version.
frontend-maven-plugin: 1.11.3 OS: Ubuntu 21.10, Ubuntu 14.04
Code