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

Xavier yadd at debian.org
Sat Apr 25 10:26:43 BST 2020


Le 25/04/2020 à 09:51, yadd at debian.org a écrit :
> Package: node-react
> 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:

Unknown input option: pureExternalModules, legacy. Allowed options:
acorn, acornInjectPlugins, cache, chunkGroupingSize, context,
experimentalCacheExpiry, experimentalOptimizeChunks,
experimentalTopLevelAwait, external, inlineDynamicImports, input,
manualChunks, moduleContext, onwarn, perf, plugins, preserveModules,
preserveSymlinks, shimMissingExports, treeshake, watch
-- PLUGIN_ERROR (babel) --
This API has been removed. If you're looking for this functionality in
Babel 7, you should import the '@babel/helper-module-imports' module and
use the functions exposed  from that module, such as 'addNamed' or
'addDefault'.


TypeError: Cannot destructure property `file` of 'undefined' or 'null'.


    at createBundle (/<<PKGBUILDDIR>>/scripts/rollup/build.js:391:42)



More information about the Pkg-javascript-devel mailing list