Created attachment 4886 [details] Build log I'm testing the Yocto Project Documentation for creating NPM packages (https://docs.yoctoproject.org/dev-manual/common-tasks.html#creating-node-package-manager-npm-packages). I managed to create a recipe for cute-files 1.0.2 using devtool, but I can't manage to build the recipe. Here's what I get: /home/mike/work/yocto/poky/build/workspace/sources/cute-files/node_modules/get-intrinsic --ignore-scripts=true failed with exit code 127, output: > get-intrinsic@1.1.2 prepack > npmignore --auto --commentLines=autogenerated sh: 1: npmignore: not found I do have the "nodejs" package in my image though, as recommended by the manual. The recipe and full log files are available in https://bootlin.com/~mike/pub/yocto-project/npm-2022-06-21/.
Created attachment 4887 [details] Recipe generated by devtool / recipetool
Tested that it's now fixed in Poky master thanks to commits from Enrico Scholz: https://git.yoctoproject.org/poky/commit/?id=ccfa4132f9a9a1fab8c3bffdc1fa316a98ab795a https://git.yoctoproject.org/poky/commit/?id=6ca69f66ba70c829956746cf290e39b16a950731 https://git.yoctoproject.org/poky/commit/?id=d88cbe2ec1d6a58e9348be8e5b4221321d0672b1 https://git.yoctoproject.org/poky/commit/?id=2c9c9641bf438165dea4139a239581e2995e5615 https://git.yoctoproject.org/poky/commit/?id=3a4c11f2c733c6a9b652410d55495c7ae7eebf57 https://git.yoctoproject.org/poky/commit/?id=6853b9b7d5f86c8080fe9a09811f57a411c74deb Closing this bug.