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

James Valleroy jvalleroy at mailbox.org
Sun Mar 14 21:18:07 GMT 2021


Package: node-node-sass
Version: 4.14.1+git20200512.e1fc158+dfsg-4
Severity: important
X-Debbugs-Cc: jvalleroy at mailbox.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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
                 ^

TypeError: Cannot use 'in' operator to search for 'dependencies' in ../package.json
    at Object.<anonymous> (/usr/share/nodejs/normalize-package-data/lib/fixer.js:138:18)
    at Array.forEach (<anonymous>)
    at Object.fixDependencies (/usr/share/nodejs/normalize-package-data/lib/fixer.js:137:41)
    at /usr/share/nodejs/normalize-package-data/lib/normalize.js:32:38
    at Array.forEach (<anonymous>)
    at normalize (/usr/share/nodejs/normalize-package-data/lib/normalize.js:31:15)
    at meow (/usr/share/nodejs/meow/index.js:146:2)
    at Object.<anonymous> (/usr/lib/x86_64-linux-gnu/nodejs/node-sass/bin/node-sass:21:11)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)


   * What outcome did you expect instead?

Either no error message, or a more meaningful error message (in case I
used the command wrong).


- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-node-sass depends on:
ii  libc6                 2.31-9
ii  libnode72             12.21.0~dfsg-1
ii  libsass1              3.6.4+20201122-1
ii  libstdc++6            10.2.1-6
ii  node-chalk            4.1.0-1
ii  node-get-stdin        8.0.0-1
ii  node-glob             7.1.6+~7.1.3-1
ii  node-globule          1.3.2-1
ii  node-gyp              7.1.2-4
ii  node-lodash           4.17.20+dfsg+~cs8.31.172-1
ii  node-meow             8.0.0+~cs3.21.0-2
ii  node-mkdirp           1.0.4+~1.0.1-1
ii  node-nan              2.14.2-2
ii  node-npmlog           4.1.2-2
ii  node-readable-stream  3.6.0-2
ii  node-source-map       0.7.0++dfsg2+really.0.6.1-7
ii  node-yargs            15.3.1+repack-2
ii  nodejs                12.21.0~dfsg-1

node-node-sass recommends no packages.

node-node-sass suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmBOfY4WHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICG1dD/4v8dyYefhKc0hvITwf0sEz2BCs
yi5qcYMyXF4Xmi7svHJbyCiEdT6opxeO6tbtKxBf9+ct4QaaR0ooAp7v6MZRetN9
pFESYqH2UYTXRCGMctb3+8GM7LPGa7utY+Qdc+7yeNePtnltdji5O8A5yFPm3LxQ
fuziGVv8nJlpaG410YtJXEEUoZwX9sLNWNpL2JHYyYVzbL/3EHq7yB7L/6S6ihLW
ZeFYvib7Hn1ycycxIELdVgleh9pQmOZ7MRDGjmhmQpcWfP4KZRm0kXRb88d5l8sT
6OMjT2acZQyrlVgePas/HOLZWErONikyOVJnPRZxT0WQrY6r6UBUGjpOG1oa4OeH
lu02yZmTYfw/B8AUbm4tOZPtsN8zC/oR/qq6HoainKjj8oi1kgUb0mM8psahE73M
UtCM+JQLzPvAOS0e29v2t7RI6oKC6KxX9d0Ho3OpPe1pHbX+drxiuOVnBPsLvLmw
Ev6nwpmM4VJaSkVP/LewqUYmReRZQAa3+a+KFn1Ef0erz7gyGg4Ij+qyvtv/B886
QLbE7JhecOPBmPh5nUdDnQXWfl86mH/d3mCK9Hff729REuYQOQWQ75Qw/e/bf3b9
EEJzYb50zp/7cfy9mwJGRIjVfSX8DU9iQqSbrLRlxgmcgtdv3tCDOeAo71c6alkp
lU7UZnc8GpTCh/4fug==
=eA7E
-----END PGP SIGNATURE-----



More information about the Pkg-javascript-devel mailing list