[Pkg-javascript-devel] Bug#981296: node-ws: FTBFS: Error: Cannot find module '@types/node'

Andreas Beckmann anbe at debian.org
Thu Jan 28 20:12:52 GMT 2021


Source: node-ws
Version: 7.4.1+~cs18.0.6-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

node-ws/experimental recently started to FTBFS. An earlier build of the
same version has succeeded, so this new failure is likely due some change
in a (transitive) build dependency. The version in sid is not affected.

 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
        mkdir node_modules
        ln -s /usr/share/nodejs/debug ./node_modules/
        mkdir -p ./node_modules/\@types
        ln -s /usr/share/nodejs/\@types/debug ./node_modules/\@types/
        ln -s /usr/share/nodejs/\@types/mocha ./node_modules/\@types/
internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module '@types/node'
Require stack:
- /build/node-ws-7.4.1+~cs18.0.6/[eval]
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.resolve (internal/modules/cjs/helpers.js:94:19)
    at [eval]:1:21
    at Script.runInThisContext (vm.js:132:18)
    at Object.runInThisContext (vm.js:309:38)
    at internal/process/execution.js:77:19
    at [eval]-wrapper:6:22
    at evalScript (internal/process/execution.js:76:60)
    at internal/main/eval_string.js:23:3 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/build/node-ws-7.4.1+~cs18.0.6/[eval]' ]
}
### @types/node is required by debian/nodejs/./extlinks but not available
make: *** [debian/rules:12: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-ws_7.4.1+~cs18.0.6-2.log.gz
Type: application/gzip
Size: 18934 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210128/f0218415/attachment.gz>


More information about the Pkg-javascript-devel mailing list