[Pkg-javascript-devel] Bug#963761: Bug#963761: node-node-sass: missing versioned dependency relation?: Sass could not find a binding for your current environment
Jonas Smedegaard
jonas at jones.dk
Thu Jul 9 20:29:10 BST 2020
Quoting merkys at debian.org (2020-07-09 16:42:32)
> On Fri, 26 Jun 2020 18:27:30 +0200 Paul Gevers <elbrus at debian.org> wrote:
> > + grunt sass nodeunit
> > Loading "gruntfile.js" tasks...ERROR
> > >> Error: Missing binding
> >
> /usr/lib/x86_64-linux-gnu/nodejs/node-sass/vendor/linux-x64-72/binding.node
> > >> Node Sass could not find a binding for your current environment:
> > Linux 64-bit with Node.js 12.x
> > >>
> > >> Found bindings for the following environments:
> > >> - Linux 64-bit with Node.js 10.x
>
> It seems as if node-node-sass was built with libnode < 72, and is now
> being executed on machine also having libnode72. While in principle
> such situations are possible, more than one libnodeX package are very
> unlikely to be present. It would probably be worth stripping the
> /linux-x64-72/ part from
> /usr/lib/x86_64-linux-gnu/nodejs/node-sass/vendor/linux-x64-72/binding.node
> and disabling the resolving mechanism altogether.
Please, Andrius, think twice before repeating the discussion already had
about node-iconv and node-expat.
I urge you to read through that previous thread (if you haven't
already), and I recommend that you consider if it is really worth it to
look at node-node-sass differently from those other packages.
If you find that it is sensible to follow the approach already taken by
those other packages, but are uncertain how concretely to implement it,
then I can suggest to look at the most recent git commits for the
packaging of node-expat: I tried to isolate and minimize the changes
made for each commit to hopefully be easy to follow.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200709/3bc8fa09/attachment.sig>
More information about the Pkg-javascript-devel
mailing list