Hello, everyone I am currently working on a project where I need to integrate NPM package dependencies using Yocto Project's BitBake fetcher utilities. I am parsing "package-lock.json" files and incorporating this data into the fetcher implementation. The fetcher I'm using is the "npmsw", however, I am encountering some challenges with this fetcher being capable of fetching the NPM dependencies from the "package-lock.json".
Here are the details of my setup: * I'm working with the Kirkstone branch * SRC_URI looks like this: SRC_URI = "...\ npmsw://${THISDIR}/package-lock.json;dev=0;destsuffix=git/node_modules \ " * I'm testing with the following package‐lock.json file: { "name": "my-project", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "my-project", "version": "1.0.0", "dependencies": { "express": "^4.17.1", "lodash": "^4.17.21", "mongoose": "^6.0.13" } } }, "dependencies": { "@babel/code-frame": { "version": "7.10.1", "resolved": " https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", "integrity": " sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== ", "dev": true, "requires": { "@babel/highlight": "^7.10.1" } } } } This is the error I see: ERROR: test-test-1.0.0-r0 do_fetch: ExpansionError( 'TUNE_FEATURES:tune-armv8a-crc', '${TUNE_FEATURES:tune-armv8a} crc', RecursionError('maximum recursion depth exceeded')) Apparently, the fetcher gets into an infinite loop. Has anyone faced a similar issue or can provide guidance on how to resolve this? Thank you for your assistance. Best regards —Daniel
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63406): https://lists.yoctoproject.org/g/yocto/message/63406 Mute This Topic: https://lists.yoctoproject.org/mt/106923227/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-