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

Nilesh Patra npatra974 at gmail.com
Wed Jul 24 12:51:03 BST 2019


Well that's odd.
Do simply calling "node-gyp" from terminal work at all ?

Yes, it does. Calling "gyp" from the terminal works too.  However when I
did the changes in build.js scipt (via quilt) and try to build it, I get
the same error as reported. I even tried hard-coding the path to
node-gyp.js but that doesn't seem to work out too. Please let me know if
there are other files that I should make changes to.

Regards
Nilesh

On Tue, 23 Jul 2019, 23:33 Jérémy Lal, <kapouer at melix.org> wrote:

>
>
> Le mar. 23 juil. 2019 à 17:18, Nilesh Patra <npatra974 at gmail.com> a
> écrit :
>
>> Hi
>>
>> >
>> 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'
>>
>>  On doing that, I'm again getting the same error message which was
>> reported earlier. Are there other files which need path resolution too?
>> Please let me know.
>>
>
> Well that's odd.
> Do simply calling "node-gyp" from terminal work at all ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190724/b52b116d/attachment.html>


More information about the Pkg-javascript-devel mailing list