Page 1 of 1

BUG in application package OpenEMM - npm

Posted: Sun Aug 11, 2024 9:09 am
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

Re: BUG in application package OpenEMM - npm

Posted: Wed Aug 21, 2024 12:44 pm
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.

Re: BUG in application package OpenEMM - npm

Posted: Thu Aug 22, 2024 10:09 am
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.