Closed jeepcook closed 8 months ago
Try in the dir
npm install
Try in the dir
npm install
npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'commander@11.1.0', npm WARN EBADENGINE required: { node: '>=16' }, npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' } npm WARN EBADENGINE }
added 1 package, and audited 13 packages in 1s
1 package is looking for funding
run npm fund
for details
found 0 vulnerabilities
plutotv-scraper --group country --all ERROR: nodejs is too old. Version 14 or greater is required. ERROR: 12.22.9 installed
And I don't want to upgrade my Ubuntu distribution for a non stable one.
Finally after after having documented myself, I've found the information that the last LTS version for nodejs is v20.x. So I've decided to install the nodejs third part repository and force NODE_MAJOR=20. So in conclusion now I have node in v20.11.0 version and the scraper is now repaired for my part.
I hadn't realised that commander required node 16 (I had already installed it prior to updating the package.json. I'll update minimum version checks to 16.
Note also, that node 12 stopped receiving security updates almost 2 years ago.
On the last LTS Ubuntu version, the nodjs isn't compatible with the last commits done today.
Here is the error:
plutotv-scraper --group country --all ERROR: nodejs is too old. Version 14 or greater is required. ERROR: 12.22.9 installed
Note that the 23.10 isn't a stable Ubuntu release, the next LTS will be 22.04.
Thanks