<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-06-13 22:09 GMT+02:00 Bastien ROUCARIÈS <span dir="ltr"><<a href="mailto:roucaries.bastien@gmail.com" target="_blank">roucaries.bastien@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: nodejs<br>
Version: 10.4.0~dfsg-2<br>
Severity: important<br>
tags: patch<br>
<br>
<br>
Hi,<br>
<br>
In order to get search path in multiarch path and in /usr/local I use the following patch<br>
<br>../.. </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">globalPaths:<br>
   [ '/home/bastien/.node_modules',<br>
     '/home/bastien/.node_<wbr>libraries',<br>
     '/usr/local/lib/x86_64-linux-<wbr>gnu/nodejs',<br>
     '/usr/local/share/nodejs',<br>
     '/usr/local/lib/nodejs',<br>
     '/usr/lib/x86_64-linux-gnu/<wbr>nodejs',<br>
     '/usr/share/nodejs',<br>
     '/usr/lib/nodejs' ],<br>
<br>
I have also added arch triplet because some module will need it.<br></blockquote><div> </div><div>Cool ! I'll take only the fix for the require path of system-multiarch-installed addons.</div><div>(nodejs does not search /usr/local - yarn global does not either - only npm might</div><div>be concerned).</div><div><br></div><div>I think it will be easier to explain to upstream once we have an example to show,</div><div>node-mapnik, for instance.</div><div><br></div><div>Jérémy</div><div><br></div></div></div></div>