Hello, with nodejs 16, 'npm.bbclass' stops to work and fails (at least) because of:
1. 'ignore-scripts' has no effect with 'npm pack' anymore. This command will now execute 'prepare' scripts which usually fail. Patching out 'scripts/prepare' from package.json should solve it (can be done by npm.bbclass). This problem happens in do_configure() 2. In do_compile(), 'npm install <tarball>' is executed. This tries to contact the registry to fetch the manifest of dependencies. Because offline mode is enforced, it will fail with ENOTCACHED. E.g. | npm install md5-2.3.0.tgz | npm sill fetch manifest charenc@0.0.2 | npm verb stack Error: request to https://registry.npmjs.org/charenc failed: cache mode is 'only-if-cached' but no cached response is available | npm ERR! code ENOTCACHED This url (https://registry.npmjs.org/charenc) was not added to the npm cache. Is there any solution or other ways to use npm in kirkstone? Enrico
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#165795): https://lists.openembedded.org/g/openembedded-core/message/165795 Mute This Topic: https://lists.openembedded.org/mt/91183010/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-