[Pkg-javascript-devel] help understanding autopkgtest failures for node-eslint-visitor-keys

Jonas Smedegaard dr at jones.dk
Mon Feb 28 09:31:58 GMT 2022


Hi,

Currently, autopkgtest fails for node-eslint-visitor-keys and I cannot 
figure out why.

I would be happy if others could have a look and maybe help spot why it 
fails.

The package does _not_ use pkg-js-tools.

The test is this minimal command:

  node -e "require('eslint-visitor-keys');"

Works fine interactively in a local pristine chroot with only nodejs and 
node-eslint-visitor-keys installed.

Fails on Debian servers with this error:

internal/modules/cjs/loader.js:406
    throw e;
    ^

Error: Cannot find module '/tmp/autopkgtest-lxc.w0404gv_/downtmp/build.H9q/src/dist/eslint-visitor-keys.cjs'
    at createEsmNotFoundErr (internal/modules/cjs/loader.js:842:15)
    at finalizeEsmResolution (internal/modules/cjs/loader.js:835:15)
    at trySelf (internal/modules/cjs/loader.js:400:12)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:24)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at [eval]:1:1
    at Script.runInThisContext (vm.js:120:18)
    at Object.runInThisContext (vm.js:309:38) {
  code: 'MODULE_NOT_FOUND',
  path: '/tmp/autopkgtest-lxc.w0404gv_/downtmp/build.H9q/src/package.json'
}


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220228/d1234c74/attachment.sig>


More information about the Pkg-javascript-devel mailing list