Grace Walkuski
02/08/2021, 6:56 PM[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.1:npm (npm install) on project pinot-controller: Failed to run task: 'npm install' failed. (error code 1) -> [Help 1]
The pinot-controller package seems to be a java project, so why is it trying to run npm install
? How do I get around this? Thanks!Ken Krugler
02/08/2021, 6:59 PMmvn clean install -DskipTests -Pbin-dist
(from the top), and all required Java artifacts do get created, so I’ve ignored the issue. As to why it’s running npm install
, I think that’s for the controller UI.Grace Walkuski
02/08/2021, 7:06 PMKishore G
Grace Walkuski
02/08/2021, 7:29 PMKishore G
Grace Walkuski
02/08/2021, 7:33 PMnpm install
could not run in the incubator-pinot/pinot-controller/src/main/resources
directory. The fix was to add the --registry=<https://registry.npmjs.org/>
flag. Can be fixed without the flag by adding an .npmrc
file with the following contents:
registry=<https://registry.npmjs.org/>
Thanks to @Kishore G for the help!! 🎉