[Pkg-javascript-devel] Bug#963761: node-node-sass: missing versioned dependency relation?: Sass could not find a binding for your current environment

merkys at debian.org merkys at debian.org
Thu Jul 9 15:42:32 BST 2020


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.

Best,
Andrius



More information about the Pkg-javascript-devel mailing list