[Pkg-javascript-devel] Bug#981296: Bug#981296: node-ws: FTBFS: Error: Cannot find module '@types/node'
Xavier
yadd at debian.org
Fri Jan 29 04:53:17 GMT 2021
Control: tags -1 + moreinfo
Le 28/01/2021 à 21:12, Andreas Beckmann a écrit :
> 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'
Hi,
this is very strange: @types/node is provided by nodejs itself (since
12.20), so I don't understand this issue (and I'm unable to reproduce
this issue of course).
More information about the Pkg-javascript-devel
mailing list