jifa icon indicating copy to clipboard operation
jifa copied to clipboard

Build fail on :frontend:npmInstall task

Open aruffie opened this issue 3 years ago • 5 comments

Dear,

I tried to build Jifa, but when running

/Java/jifa-master/scripts/ ./build_jifa.sh

I got the following error:

failt-jifa

I'm suprised to see an error on ':frontend:npmInstall' because I already have NPM, with 8.3.1 version ...

How I can solve the problem plz ?

Thank a lot and best regards

aruffie avatar Jan 17 '22 14:01 aruffie

Hi @aruffie ,

Could you try the following commands to see the details of this problem:

cd frontend && npm install

D-D-H avatar Jan 17 '22 15:01 D-D-H

Sorry for late reply @D-D-H one more error, I attached the terminal's output and its attached log 2022-01-20T08_29_44_233Z-debug-0.log npm-install-log.txt

I can't open the .log file :-(

aruffie avatar Jan 20 '22 08:01 aruffie

@aruffie

I notice that there is an error message:

5296 error gyp ERR! cwd /home/adrien/Java/jifa-master/frontend/node_modules/node-sass

node-sass has been replaced by sass by https://github.com/eclipse/jifa/commit/b8907d7bcfeea7a08d5a949faee12a5e488023fa .

I'm not sure if this fix can fix your problem, could you try to pull the latest code?

D-D-H avatar Jan 21 '22 03:01 D-D-H

@D-D-H sure :-) thank for the modification, but again another problem. I attached 2 files, one is the:

$ cd scripts $ ./build_jifa.sh error.log error-frontend.log

and the other the cd "frontend && npm install" output

aruffie avatar Jan 21 '22 08:01 aruffie

This looks like a environment problem. Check out this SO post to see if it works for you.

y1yang0 avatar Jan 26 '22 02:01 y1yang0