[Pkg-javascript-devel] Bug#966447: node-trust-jwa: FTBFS: Error: Cannot find module 'babel-helper-function-name'

Andreas Beckmann anbe at debian.org
Tue Jul 28 16:29:01 BST 2020


Source: node-trust-jwa
Version: 0.4.6-1~exp1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

node-trust-jwa started to FTBFS after some changes in the node-babel ecosystem:

   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/node-trust-jwa-0.4.6'
pandoc --from gfm-raw_html --to html --standalone --output README.html README.md
[WARNING] This document format requires a nonempty <title> element.
  Defaulting to 'README' as the title.
  To specify a title, use 'title' in metadata or --metadata title="...".
pandoc --from gfm-raw_html --to plain --output README.txt README.md
babeljs src -d lib
Error: Cannot find module 'babel-helper-function-name'
Require stack:
- /usr/share/nodejs/babel-plugin-transform-es2015-function-name/lib/index.js
- /usr/share/nodejs/babel-preset-es2015/lib/index.js
- /usr/share/nodejs/babel-core/lib/transformation/file/options/option-manager.js
- /usr/share/nodejs/babel-core/lib/transformation/file/index.js
- /usr/share/nodejs/babel-core/lib/api/node.js
- /usr/share/nodejs/babel-core/index.js
- /usr/share/nodejs/babel-cli/lib/babel/index.js
- /usr/share/nodejs/babel-cli/bin/babel.js (While processing preset: "/usr/share/nodejs/babel-preset-es2015/lib/index.js")
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/usr/share/nodejs/babel-plugin-transform-es2015-function-name/lib/index.js:28:32)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1
make[1]: Leaving directory '/build/node-trust-jwa-0.4.6'
make: *** [debian/rules:33: binary] Error 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-trust-jwa_0.4.6-1~exp1.log.gz
Type: application/gzip
Size: 14789 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200728/1cb7c696/attachment.gz>


More information about the Pkg-javascript-devel mailing list