Preconditions/Environment ------------------------- Build environment with: - poky on the thud branch - meta-openembedded on the thud branch Triggering Action/Cause ----------------------- devtool add "npm://registry.npmjs.org;name=cute-files;version=1.0.2" Expectation ----------- A symlink file /usr/bin/cute-files is created and link to a valid file. Actual Result ------------- /usr/bin/cute-files links to ../lib/node_modules/.. and not to ../lib/node/.. Reproducibility --------------- 10/10
Hi, Thanks for reporting this. Does the issue also reproduce against master? Unfortunately we don't have an expert on the npm pieces right now, the people who worked on it have moved on to other things. Were you able to come up with a fix? Cheers, Richard
Hi, yes I have a fix (and few others). This touch the npm.bbclass file in meta/classes/npm.bbclass. On which mailing list should I submit these ? bitbake-devel ? poky ? Regards, Jean-Marie
Move to NEEDINFO
Sorry, the npm.bbclass changes should go to the openembedded-core mailing list. I saw them on bitbake-devel and sorted them out regardless but if any future patches could go to there, that would be great!
Fixed by https://git.openembedded.org/openembedded-core/commit/?id=2d72007deea7ed529f82b8a6e67e2715dd0a0dca