[Pkg-javascript-devel] Bug#1060283: node-babel7: missing dependency node module '@nicolo-ribaudo/eslint-scope-5-internals'
Wolfgang Sourdeau
wolfgang at contre.com
Mon Jan 8 19:56:17 GMT 2024
Package: node-babel7
Version: 7.20.15+ds1+~cs214.269.168-6
Severity: normal
Dear Maintainer,
Using eslint and specifying "@babel/eslint-parser" as parser in the configuration, eslint crashes with the following exception :
Error: Failed to load parser '@babel/eslint-parser' declared in '../../../.eslintrc': Cannot find module '@nicolo-ribaudo/eslint-scope-5-internals'
Require stack:
- /usr/share/nodejs/@babel/eslint-parser/lib/analyze-scope.cjs
- /usr/share/nodejs/@babel/eslint-parser/lib/index.cjs
- /usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js
- /usr/share/nodejs/eslint/lib/cli-engine/cascading-config-array-factory.js
- /usr/share/nodejs/eslint/lib/cli-engine/cli-engine.js
- /usr/share/nodejs/eslint/lib/cli-engine/index.js
- /usr/share/nodejs/eslint/lib/cli.js
- /usr/share/nodejs/eslint/bin/eslint.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (/usr/share/nodejs/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/usr/share/nodejs/@babel/eslint-parser/lib/analyze-scope.cjs:14:5)
at Module._compile (/usr/share/nodejs/v8-compile-cache/v8-compile-cache.js:192:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
This, of course, prevents me from usint "babel" as parser.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.6.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages node-babel7 depends on:
ii node-ampproject-remapping 2.2.0+~cs5.15.37-1
ii node-babel-plugin-add-module-exports 1.0.4+dfsg1~cs5.8.0-4
ii node-babel-plugin-polyfill-corejs2 0.3.3~0~20220913+ds1-1
ii node-babel-plugin-polyfill-corejs3 0.6.0~0~20220913+ds1-1
ii node-babel-plugin-polyfill-regenerator 0.4.1~0~20220913+ds1-1
ii node-babel7-runtime 7.20.15+ds1+~cs214.269.168-6
ii node-browserslist 4.22.1+~cs6.1.27-1
ii node-chalk 5.3.0-1
ii node-clone-deep 4.0.1+~cs7.0.2-1
ii node-commander 9.4.1-1
ii node-convert-source-map 1.9.0+~1.5.2-1
ii node-core-js 3.33.2-1
ii node-core-js-compat 3.33.2-1
ii node-core-js-pure 3.33.2-1
ii node-debug 4.3.4+~cs4.1.7-1
ii node-esutils 2.0.3+~2.0.0-1
ii node-find-cache-dir 3.3.2+~3.2.1-1
ii node-fs-readdir-recursive 1.1.0+~1.1.0-1
ii node-glob 8.0.3+~cs8.4.15-4
ii node-globals 13.23.0-1
ii node-js-tokens 8.0.0-2
ii node-jsesc 3.0.2+~3.0.1-1
ii node-json5 2.2.3+dfsg-1
ii node-lodash 4.17.21+dfsg+~cs8.31.198.20210220-9
ii node-lodash-packages 4.17.21+dfsg+~cs8.31.198.20210220-9
ii node-make-dir 3.1.0-3
ii node-quick-lru 6.1.1-4
ii node-regenerator-transform 0.15.2+~0.10.8-1
ii node-regexpu-core 5.2.2-3
ii node-resolve 1.22.1+~cs5.31.10-1
ii node-semver 7.5.4+~7.5.0-2
ii node-slash 4.0.0-3
ii node-source-map 0.7.0++dfsg2+really.0.6.1-15
ii node-source-map-support 0.5.21+ds+~0.5.4-1
ii node-to-fast-properties 3.0.1-3
ii node-v8flags 3.2.0+~3.1.1-1
ii nodejs 18.19.0+dfsg-6
node-babel7 recommends no packages.
Versions of packages node-babel7 suggests:
pn node-babel-plugin-polyfill-es-shims <none>
pn node-babel7-debug <none>
-- no debconf information
More information about the Pkg-javascript-devel
mailing list