Hi Larry,

Perhaps the problem is my newer version of NPM?

> npm -version
5.8.0
> mvn -version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
2019-04-04T20:00:29+01:00)
Maven home: /home/coheig/.sdkman/candidates/maven/current
Java version: 1.8.0_212, vendor: Azul Systems, Inc., runtime:
/home/coheig/.sdkman/candidates/java/8.0.212-zulu/jre
OS name: "linux", version: "5.0.0-20-generic", arch: "amd64", family: "unix"

I get the same error with Java 11.

Colm.

On Thu, Jul 4, 2019 at 8:49 PM larry mccay <[email protected]> wrote:

> 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 <[email protected]> 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 <[email protected]>
>> 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 <[email protected]> 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 <
>>> [email protected]>
>>> > 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! [email protected] postinstall: `node
>>> >> lib/post_install.js`
>>> >> [ERROR] npm ERR! Exit status 139
>>> >> [ERROR] npm ERR!
>>> >> [ERROR] npm ERR! Failed at the [email protected]
>>> 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
>>>
>>

-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to