<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Hi all!<br><br>I&#39;m trying to install some recipes that use npm class and I have two questions.<br><br>1 - Why use S = &quot;${WORKDIR}/npmpkg&quot;? This not work for me.<br><br>2 - Using option --no-registry inside npm_do_compile task I get this error:<br><br>| npm ERR! Registry not defined and registry files not found:<br>&quot;/home/user/prj/build/tmp/work/all-linux-musleabi/gulp-cli/1.2.1-r0/npm_cache/noregistry/wreck/.cache.json&quot;,<br>&quot;/home/user/prj/build/tmp/work/all-linux-musleabi/gulp-cli/1.2.1-r0/npm_cache/wreck/.cache.json&quot;.<br>| npm ERR!<br>| npm ERR! If you need help, you may report this error at:<br>| npm ERR!     &lt;<a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a>&gt;<br>| npm ERR! Linux 3.18.0-trunk-amd64<br>| npm ERR! argv &quot;/home/user/prj/build/tmp/sysroots/x86_64-linux/usr/bin/node&quot;<br>&quot;/home/user/prj/build/tmp/sysroots/x86_64-linux/usr/bin/npm&quot;<br>&quot;--arch=arm&quot; &quot;--production&quot; &quot;--no-registry&quot; &quot;install&quot;<br>| npm ERR! node v4.4.1<br>| npm ERR! npm  v2.14.20<br><br>I found this issue <a href="https://github.com/npm/npm/issues/5509">https://github.com/npm/npm/issues/5509</a> and using<br>--cache-min 99999 instead of --no-registry this error doesn&#39;t appears and build works fine.<br><br>I noticed that nodejs recipe is using this patch <a href="https://github.com/bendaaron/meta-oe-dev/commit/3e02a40d689a7002547215473a00606d8213ce0c">https://github.com/bendaaron/meta-oe-dev/commit/3e02a40d689a7002547215473a00606d8213ce0c</a><br>but seems not fix for me.<br><br>I&#39;m missing something to use this class?<br><br>Regards.<br><br></div></div>