I'm migrating a yocto project that is working on sumo to warrior, so I set my
layers to be the "warrior" branches. Everything runs fine until it fails in my
node project layer on "do_compile" with the error message "Cannot read property
'replace' of null." It seems to return null for npm.config.get('registry'), but
it is set on the Docker image that's building this image. If I delete the
npm-shrinkwrap.json, it builds, but I'd like to leave that file in for the
project. I think I need to either upgrade the npm version to 6.10.3 (where this
error was fixed) or set the npm registry for the build process. How would I do
that?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#49382): https://lists.yoctoproject.org/g/yocto/message/49382
Mute This Topic: https://lists.yoctoproject.org/mt/74172375/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-