[Pkg-javascript-devel] Bug#958774: Bug#958774: node-puka: Package fail to build with node-rollup-plugin-babel 4.4.0

Xavier yadd at debian.org
Sat Apr 25 10:32:12 BST 2020


Le 25/04/2020 à 09:51, yadd at debian.org a écrit :
> Package: node-puka
> Severity: important
> 
> This package fails to build with node-rollup-plugin-babel 4.4.0
> (available in experimental dist). Problem seems to be just a missing
> dependency to one a node-babel (6) package. 

Error is:

[!] (babel plugin) Error: Babel 7.0.0-beta.56 has dropped support for
the 'helpersNamespace' utility.If you are using
@babel/plugin-external-helpers you will need to use a newer version than
the one you currently have installed. If you have your own
implementation, you'll want to explore using 'helperGenerator' alongside
'file.availableHelper()'.
src/index.js
Error: Babel 7.0.0-beta.56 has dropped support for the
'helpersNamespace' utility.If you are using
@babel/plugin-external-helpers you will need to use a newer version than
the one you currently have installed. If you have your own
implementation, you'll want to explore using 'helperGenerator' alongside
'file.availableHelper()'.
    at File.set
(/usr/share/nodejs/@babel/core/lib/transformation/file/file.js:125:13)
    at PluginPass.pre
(/usr/share/nodejs/babel-plugin-external-helpers/lib/index.js:10:12)
    at transformFile
(/usr/share/nodejs/@babel/core/lib/transformation/index.js:78:27)
    at runSync
(/usr/share/nodejs/@babel/core/lib/transformation/index.js:45:3)
    at Object.transformSync
(/usr/share/nodejs/@babel/core/lib/transform.js:43:38)
    at /usr/share/nodejs/rollup-plugin-babel/src/preflightCheck.js:38:24
    at /usr/share/nodejs/rollup-plugin-babel/src/index.js:95:22
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
    at startup (internal/bootstrap/node.js:283:19)



More information about the Pkg-javascript-devel mailing list