[OE-core] Broken NPM builds

Davis, Michael michael.davis at essvote.com
Wed Apr 26 16:01:20 UTC 2017


I have a simple grunt-cli recipe using inherit npm.
On master branch it appears to be broken and unable to find the registry.  Same recipe on Morty branch works fine.
I looked through the mailing list and didn't see anyone else seeing this issue.

On a related side note I have recipes working for node 6.10.2.  Is there a reason we are staying on the 4.x series now that 6 is LTS?

Log data follows:
| DEBUG: Executing shell function do_install
| npm ERR! Linux 3.10.0-514.10.2.el7.x86_64
| npm ERR! argv "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/node" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/npm" "install" "--prefix" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/image/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr" "-g" "--arch=x64" "--target_arch=x64" "--production" "--no-registry"
| npm ERR! node v4.7.3
| npm ERR! npm  v2.15.11
|
| npm ERR! Registry not defined and registry files not found: "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/noregistry/findup-sync/.cache.json", "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/findup-sync/.cache.json".
| npm ERR!
| npm ERR! If you need help, you may report this error at:
| npm ERR!     <https://github.com/npm/npm/issues>
| npm ERR! Linux 3.10.0-514.10.2.el7.x86_64
| npm ERR! argv "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/node" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/npm" "install" "--prefix" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/image/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr" "-g" "--arch=x64" "--target_arch=x64" "--production" "--no-registry"
| npm ERR! node v4.7.3
| npm ERR! npm  v2.15.11
|
| npm ERR! Registry not defined and registry files not found: "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/noregistry/grunt-known-options/.cache.json", "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/grunt-known-options/.cache.json".
| npm ERR!
| npm ERR! If you need help, you may report this error at:
| npm ERR!     <https://github.com/npm/npm/issues>
| npm ERR! Linux 3.10.0-514.10.2.el7.x86_64
| npm ERR! argv "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/node" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/npm" "install" "--prefix" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/image/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr" "-g" "--arch=x64" "--target_arch=x64" "--production" "--no-registry"
| npm ERR! node v4.7.3
| npm ERR! npm  v2.15.11
|
| npm ERR! Registry not defined and registry files not found: "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/noregistry/nopt/.cache.json", "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/nopt/.cache.json".
| npm ERR!
| npm ERR! If you need help, you may report this error at:
| npm ERR!     <https://github.com/npm/npm/issues>
| npm ERR! Linux 3.10.0-514.10.2.el7.x86_64
| npm ERR! argv "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/node" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr/bin/npm" "install" "--prefix" "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/image/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr" "-g" "--arch=x64" "--target_arch=x64" "--production" "--no-registry"
| npm ERR! node v4.7.3
| npm ERR! npm  v2.15.11
|
| npm ERR! Registry not defined and registry files not found: "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/noregistry/resolve/.cache.json", "/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npm_cache/resolve/.cache.json".
| npm ERR!
| npm ERR! If you need help, you may report this error at:
| npm ERR!     <https://github.com/npm/npm/issues>
|
| npm ERR! Please include the following file with any support request:
| npm ERR!     /build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/npmpkg/npm-debug.log
| WARNING: /build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/temp/run.do_install.88695:1 exit 1 from 'npm install --prefix /build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/image/build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/recipe-sysroot-native/usr -g --arch=x64 --target_arch=x64 --production --no-registry'
| ERROR: Function failed: do_install (log file is located at /build/test/tmp/work/x86_64-linux/grunt-cli-native/1.2.0-r0/temp/log.do_install.88695)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170426/60ab7fb8/attachment-0002.html>


More information about the Openembedded-core mailing list