[Pkg-javascript-devel] Bug#932797: Bug#932797: Bug#932797: node-gyp should be installed in /usr/share/nodejs/node-gyp

Jérémy Lal kapouer at melix.org
Tue Jul 23 15:49:48 BST 2019


Le mar. 23 juil. 2019 à 16:43, Pirate Praveen <praveen at onenetbeyond.org> a
écrit :

>
>
> On 2019, ജൂലൈ 23 6:36:10 PM IST, "Jérémy Lal" <kapouer at melix.org> wrote:
> >> Currently building node-sass gives this error.
> >>
> >> Error: Cannot find module 'node-gyp/bin/node-gyp.js'
> >>
> >
> >That's another issue.
> >node-sass scripts/build.js is completely wrong in its path resolution.
> >
>
> What do you suggest as a fix for this?
>
> https://salsa.debian.org/gi-boi-guest/node-node-sass


https://salsa.debian.org/gi-boi-guest/node-node-sass/blob/master/scripts/build.js#L59
replace
require.resolve(path.join('node-gyp', 'bin', 'node-gyp.js'))
by
'node-gyp'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190723/500dbbe9/attachment.html>


More information about the Pkg-javascript-devel mailing list