I just built it successfully the same way as you on my Linux Mint machine with the following versions:
lmccay@NordzLinux:~/Projects/knox$ npm --version *3.5.2* lmccay@NordzLinux:~/Projects/knox$ mvn --version *Apache Maven 3.6.0* Maven home: /usr/share/maven Java version: 10.0.2, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-20-generic", arch: "amd64", family: "unix" lmccay@NordzLinux:~/Projects/knox$ java -version Rather old version of NPM considering that I just installed it yesterday. On Thu, Jul 4, 2019 at 2:01 PM larry mccay <lmc...@apache.org> wrote: > Hmmm - I've not seen that but I always do: > > mvn clean install -DskipTests=false -Ppackage > > Maybe the packaging is setting up something that we need for npm? > > On Wed, Jul 3, 2019 at 1:25 PM Colm O hEigeartaigh <cohei...@apache.org> > wrote: > >> Hi Kevin, >> >> I was just building the source with "mvn clean install". I uploaded the >> error log here: >> >> https://paste.apache.org/Jbl8 >> >> Colm. >> >> On Tue, Jul 2, 2019 at 6:50 PM Kevin Risden <kris...@apache.org> wrote: >> >> > Can you share more of the output? Specifically what command are you >> > running? >> > >> > The maven build should not be using the local NPM install and instead >> use >> > one from the maven-frontend-plugin. >> > >> > Kevin Risden >> > >> > >> > On Tue, Jul 2, 2019 at 1:48 PM Colm O hEigeartaigh <cohei...@apache.org >> > >> > wrote: >> > >> >> Hi all, >> >> >> >> I can't build Knox master any more - I get some npm errors in >> >> gateway-admin-ui. I'm on Ubuntu using NPM 5.8.0. The errors are along >> the >> >> lines of: >> >> >> >> [ERROR] npm ERR! code ELIFECYCLE >> >> [ERROR] npm ERR! errno 139 >> >> [ERROR] npm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: `node >> >> lib/post_install.js` >> >> [ERROR] npm ERR! Exit status 139 >> >> [ERROR] npm ERR! >> >> [ERROR] npm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 >> postinstall >> >> script. >> >> [ERROR] npm ERR! This is probably not a problem with npm. There is >> likely >> >> additional logging output above. >> >> >> >> Any ideas? >> >> >> >> Colm. >> >> >> >> >> >> -- >> >> Colm O hEigeartaigh >> >> >> >> Talend Community Coder >> >> http://coders.talend.com >> >> >> > >> >> -- >> Colm O hEigeartaigh >> >> Talend Community Coder >> http://coders.talend.com >> >