meta-openembedded/meta-oe/recipes-devtools/nodejs
Martin Hundebøll 69a68d4ded
nodejs-oe-cache: fix offline install of dependencies
Apparently, npm has changed its request accept header, so that cache
lookup misses. This causes an ENOTCACHED error when doing the offline
install in do_compile() from npm.bbclass.

Fix it by updating the fake cache entry to match the newest behaviour
from npm.

Note that npm doesn't agree with itself, as it still uses the previous
header value when doing `npm cache add <pkg>`, but the new value when
doing `npm install <pkg>`.

Bug submitted upstream:
https://github.com/npm/cli/issues/7465

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-03 07:23:44 -07:00
..
nodejs nodejs: don't always disable io_uring 2024-04-11 23:32:35 -07:00
nodejs-oe-cache-20.12 nodejs-oe-cache: fix offline install of dependencies 2024-05-03 07:23:44 -07:00
nodejs_20.12.2.bb nodejs: upgrade 20.11.1 -> 20.12.2 2024-04-29 11:11:50 -07:00
nodejs-oe-cache-native_20.12.bb nodejs: upgrade 20.11.1 -> 20.12.2 2024-04-29 11:11:50 -07:00