josephbate
(joseph ssegujja)
November 28, 2023, 2:56am
1
hello folks
I’ve been trying to execute mvn clean install but for some reason have been getting omod build failures.
i change the node version to v6.10.0 are required but still get then same error. you can find my logs here
please if there is any suggestion on how to solve this, it will be super helpful
cc. @dkayiwa @ibacher @ruhanga
dkayiwa
(Daniel Kayiwa)
November 28, 2023, 6:12pm
2
I have just run it successfully with node version v18.17.0
and npm version 9.6.7
josephbate
(joseph ssegujja)
November 29, 2023, 4:32am
3
oh okay let me try with that suggestion
josephbate
(joseph ssegujja)
November 29, 2023, 4:46am
4
hello @dkayiwa i am still getting the same error.
dkayiwa
(Daniel Kayiwa)
November 29, 2023, 8:56am
5
Can you share the full error log of what you are now getting?
josephbate
(joseph ssegujja)
November 29, 2023, 8:59am
6
okay please, let me reproduce the error
josephbate
(joseph ssegujja)
November 29, 2023, 9:10am
7
hello @dkayiwa please find my full error log here
dkayiwa
(Daniel Kayiwa)
November 29, 2023, 9:53am
8
I mean the full log when you run mvn clean install
josephbate
(joseph ssegujja)
November 29, 2023, 10:51am
9
hello @dkayiwa sorry for the delay, here is the full log
dkayiwa
(Daniel Kayiwa)
November 29, 2023, 11:32am
10
Delete the node_modules
folder under coreapps and then compile again.
josephbate
(joseph ssegujja)
November 29, 2023, 12:25pm
11
still getting the same error
josephbate
(joseph ssegujja)
November 29, 2023, 12:56pm
12
hello @dkayiwa also did a npm run test
to see more details, find the error log here
ibacher
(Ian Bacher)
November 29, 2023, 1:13pm
13
@josephbate Do you have Firefox installed?
dkayiwa
(Daniel Kayiwa)
November 29, 2023, 8:05pm
15
Tell me what happens after doing the following:
Delete the entire coreapps folder
Clone it afresh
Then run mvn clean install
josephbate
(joseph ssegujja)
November 30, 2023, 3:27am
16
nothing’s changed, still getting the same error
ruhanga
(Nathan Ruhanga)
November 30, 2023, 7:01am
17
@josephbate the version of node and npm you are running are not as above. In the logs, I see;
.
..
[INFO] npm ERR! argv "/home/ssegujja/coreapps/node/node" "/home/ssegujja/coreapps/node/node_modules/npm/bin/npm-cli.js" "run" "test"
[INFO] npm ERR! node v6.10.0
[INFO] npm ERR! npm v3.10.10
.
..
josephbate
(joseph ssegujja)
November 30, 2023, 7:29am
18
i tried all these versions but still get the same error
ruhanga
(Nathan Ruhanga)
November 30, 2023, 8:24am
19
@josephbate did you do the above?
Could you run the following commands in a new terminal and share the output/logs?
git clean -fdx .
ls -al
mvn clean install
1 Like
josephbate
(joseph ssegujja)
November 30, 2023, 11:28am
20
ruhanga:
ls -al
yes i delect the node_modules
and compiled again this had the same errors
hello @ruhanga the failures have persisted even with what you have proposed