Hello,
I'm relatively new to Yocto and have a question related to bitbake and nodejs
modules.
I'm working with Yocto Hardknott and would like to integrate a nodejs module
into my build.
To do so I'm using devtool:
devtool add "npm://registry.npmjs.org;package=electron;version=latest"
During the do_fetch task I get the following error:
npm view electron@latest failed with exit code 1, output:
{
"error": {
"code": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY",
"summary": "request to https://registry.npmjs.org/electron failed, reason:
unable to get local issuer certificate",
"detail": ""
}
}
This seems to be because our company proxy exchanges the certificates.
The question is where or how can I add configuration options to the npm started
during the do_fetch task?
PS: The error is not related to Electron the same happens with other modules.
Thank you and kind regards,
Holger
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57956): https://lists.yoctoproject.org/g/yocto/message/57956
Mute This Topic: https://lists.yoctoproject.org/mt/93368672/21656
Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake
Mute #hardknott:https://lists.yoctoproject.org/g/yocto/mutehashtag/hardknott
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-