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

Attachment: signature.asc
Description: signature

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to