[Pkg-javascript-devel] Bug#985231: Bug#985231: TypeError: Cannot use 'in' operator to search for 'dependencies' in ../package.json

Nilesh Patra nilesh at disroot.org
Mon Mar 15 10:51:37 GMT 2021


> Dear Maintainer,
> 
> * What led up to the situation?
> 
> I installed node-node-sass, and ran its installed binary node-sass.
> 
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> 
> Ran the command "node-sass". I tried running in different paths, with
> different parameters, and on a different system, but the result was
> the same.
> 
> * What was the outcome of this action?
> 
> $ node-sass
> /usr/share/nodejs/normalize-package-data/lib/fixer.js:138
> if (!(deps in data)) return
> ^

Since node-node-sass is supposed to be used as a library, probably we do not need to vendor this binary: /usr/bin/node-sass -> ../lib/x86_64-linux-gnu/nodejs/node-sass/bin/node-sass

Also maybe this bug should be reassigned to node-normalize-package-data?

@Team, thoughts?

Nilesh



More information about the Pkg-javascript-devel mailing list