Hi, The maven process should download and install node and npm within the target directory. You shouldn't need to install them on your system manually. The actual npm commands once installed are also executed from the target directory of that module. This is why the file package.json does not exist in the source root or directly in that module as well. Would it you possible for you to share more output from the failed maven command? If you scroll further back it may have additional details regarding the issue.
Thanks On Fri, Apr 14, 2023 at 11:11 AM Mark Woodcock <woodc...@usna.edu.invalid> wrote: > Howdy, > > (N.B. I'm a VisProfessor at the USNA; I would like to teach the mids to use > NiFi as part of a new "big data" course we are offering this coming fall.) > > I'm just trying to get the software installed (latest and greatest; > unzipped and then "mvn clean install"). > (N.B. I did have to do some supporting installs to get "npm" to work, but > those seemed to go cleanly). > > It keeps jamming here: > > [ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:1.12.1:npm (npm install) on > project nifi-web-ui: Failed to run task: 'npm run ci' failed. > org.apache.commons.exec.ExecuteException: Process exited with an error: 1 > (Exit value: 1) -> [Help 1] > > when I try to run "npm run ci" on its own (in either the root or that > nifi-web-ui dir), I get: > > npm ERR! enoent ENOENT: no such file or directory, open > '/home/scs/woodcock/nifi-1.21.0/package.json' > > which, you know, fair enough; it ain't there. but I have no idea what > should be there, or how it was supposed to get there. > (there are tons of package.json files about, just not in either of those > locations). > > thx much, > > mew >