diff options
author | Martin Hundebøll <martin@geanix.com> | 2024-05-03 11:42:20 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-03 07:23:44 -0700 |
commit | 69a68d4ded832d4e9b5d5714e98d7fcfd2161746 (patch) | |
tree | cc5d160e8c60a09c3d6d5aff20cc3293094f39af /meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb | |
parent | 80719a61a53dcabf7d114712ffdc8fc9c3428bd5 (diff) | |
download | meta-openembedded-69a68d4ded832d4e9b5d5714e98d7fcfd2161746.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb')
0 files changed, 0 insertions, 0 deletions