jifa
jifa copied to clipboard
Build fail on :frontend:npmInstall task
Dear,
I tried to build Jifa, but when running
/Java/jifa-master/scripts/ ./build_jifa.sh
I got the following error:

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
Hi @aruffie ,
Could you try the following commands to see the details of this problem:
cd frontend && npm install
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
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 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
This looks like a environment problem. Check out this SO post to see if it works for you.