[Pkg-javascript-devel] Bug#901474: Bug#901474: [nodejs][RFC] Multiarch and /usr/local search path
    Jérémy Lal 
    kapouer at melix.org
       
    Wed Jun 13 21:46:53 BST 2018
    
    
  
2018-06-13 22:09 GMT+02:00 Bastien ROUCARIÈS <roucaries.bastien at gmail.com>:
> Package: nodejs
> Version: 10.4.0~dfsg-2
> Severity: important
> tags: patch
>
>
> Hi,
>
> In order to get search path in multiarch path and in /usr/local I use the
> following patch
>
> ../..
globalPaths:
>    [ '/home/bastien/.node_modules',
>      '/home/bastien/.node_libraries',
>      '/usr/local/lib/x86_64-linux-gnu/nodejs',
>      '/usr/local/share/nodejs',
>      '/usr/local/lib/nodejs',
>      '/usr/lib/x86_64-linux-gnu/nodejs',
>      '/usr/share/nodejs',
>      '/usr/lib/nodejs' ],
>
> I have also added arch triplet because some module will need it.
>
Cool ! I'll take only the fix for the require path of
system-multiarch-installed addons.
(nodejs does not search /usr/local - yarn global does not either - only npm
might
be concerned).
I think it will be easier to explain to upstream once we have an example to
show,
node-mapnik, for instance.
Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20180613/efee41ef/attachment.html>
    
    
More information about the Pkg-javascript-devel
mailing list