BUG in application package OpenEMM - npm

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

JuergenB
Posts: 152
Joined: Thu Dec 05, 2019 9:03 pm

BUG in application package OpenEMM - npm

Post by JuergenB »

During the installation of OpenEMM from runtime openemm-runtime-24.04.000.0** i get a warning and a loop during installition of the package OpenEMM

I installed nodejs18 and i installed npm 10.8.2 and puppeteer 23.0.02

Code: Select all

dnf -y module enable nodejs:18
dnf -y module install nodejs:18
npm install -g npm@10.8.2"
npm install puppeteer@22.8.2"
But it keeps installing puppeteer 23.0.2

During the installation of the package OpenEMM i always get a warning

npm WARN deprecated puppeteer@21.11.0: < 22.8.2 is no longer supported

no matter what puppeteer is installed

and it hangs very long at

⠋ reify:ag-grid-community: http fetch GET 200 https://registry.npmjs.org/ag-grid-comm ... 30.0.6.tgz 3256ms (cache miss)

i can download this with a browser with no problems.

can you check the runtime and the installer of the OpenEMM Package
Wkn
Posts: 8
Joined: Fri Jan 27, 2023 3:30 pm

Re: BUG in application package OpenEMM - npm

Post by Wkn »

The version of puppeteer, that is installed and then used by the openemm is dictated by the package.json in the WEB-INF folder as far as I can see.
The issue, that it hangs long at reify:ag-grid-community is unfortunately an issue with npm.
You should be able to manually update puppeteer by going into the WEB-INF folder and run the command

Code: Select all

npm install puppeteer@<desired_version>
Afterwards, you can verify with

Code: Select all

npm list
in the WEB-INF folder, if the desired package versions are installed.
JuergenB
Posts: 152
Joined: Thu Dec 05, 2019 9:03 pm

Re: BUG in application package OpenEMM - npm

Post by JuergenB »

Yes it hangs long, i canceld the npm after 4h.

The package.json comes with OpenEMM, so why is this not fixed with a new OpenEMM release?

But this error is the same with the OVA package.
Post Reply