Bug#939436: [Pkg-javascript-devel] Bug#939436: node-js-beautify: does not start: 'config-chain' not found

2019-09-05 Thread Xavier
Control: tags -1 + moreinfo

Le 05/09/2019 à 00:00, Johannes Deutsch a écrit :
> Package: node-js-beautify
> Version: 1.7.5+repack-1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> after installing css-beautify refuses to run with the following error:
> 
> 
> internal/modules/cjs/loader.js:670
> throw err;
> ^
> 
> Error: Cannot find module 'config-chain'
> at Function.Module._resolveFilename 
> (internal/modules/cjs/loader.js:668:15)
> at Function.Module._load (internal/modules/cjs/loader.js:591:27)
> at Module.require (internal/modules/cjs/loader.js:723:19)
> at require (internal/modules/cjs/helpers.js:14:16)
> at Object. (/usr/share/nodejs/js-beautify/js/lib/cli.js:40:10)
> at Module._compile (internal/modules/cjs/loader.js:816:30)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
> at Module.load (internal/modules/cjs/loader.js:685:32)
> at Function.Module._load (internal/modules/cjs/loader.js:620:12)
> at Module.require (internal/modules/cjs/loader.js:723:19)
> 
> However 'config-chain' is also installed on the system.

Hi,

I'm not able to reproduce this issue. I'm going to add a autopkgtest
file to checks the 3 binaries usage



Bug#939436: node-js-beautify: does not start: 'config-chain' not found

2019-09-04 Thread Johannes Deutsch
Package: node-js-beautify
Version: 1.7.5+repack-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

after installing css-beautify refuses to run with the following error:


internal/modules/cjs/loader.js:670
throw err;
^

Error: Cannot find module 'config-chain'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15)
at Function.Module._load (internal/modules/cjs/loader.js:591:27)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/usr/share/nodejs/js-beautify/js/lib/cli.js:40:10)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)

However 'config-chain' is also installed on the system.



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

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

Versions of packages node-js-beautify depends on:
ii  node-config-chain  1.1.11-1
ii  node-lru-cache 5.1.1-5
ii  node-mkdirp0.5.1-1
ii  node-nopt  3.0.6-3
ii  node-semver5.7.1-1
ii  node-sigmund   1.0.0-1
ii  nodejs 11.15.0-1nodesource1

Versions of packages node-js-beautify recommends:
ii  jsbeautifier  1.6.4-7

node-js-beautify suggests no packages.

-- no debconf information