[Pkg-javascript-devel] node-rollup-plugin-babel: build error unrepro but babelHelpers missing error in autopkgtest

Pirate Praveen praveen at onenetbeyond.org
Thu Jan 18 11:18:22 UTC 2018


On ബുധന്‍ 17 ജനുവരി 2018 07:15 വൈകു, Paolo Greppi wrote:
> But back to our issue, I follow you on 887500, but I am unsure whether 887497 really blocks 886404 ?
> 
> I mean, only one of the 4 Critical dependency warnings seems related to /usr/lib/nodejs/base/utils.js (node-base)

Well, it is not sufficient, but necessary. So it is indeed a blocker,
but there are more blockers as you identified below :)

> The other 3 are related to:
> /usr/lib/nodejs/babel-core/lib/transformation/file/options/option-manager.js
> /usr/lib/nodejs/babel-core/lib/transformation/file/index.js
> 
> Pravi, are you sure that all the webpack "Critical dependency" warnings would go away with the latest version of base ?

You are correct, I missed these warning related to babel-core.

WARNING in
/usr/lib/nodejs/babel-core/lib/transformation/file/options/option-manager.js
190:19-37 Critical dependency: the request of a dependency is an expression

WARNING in
/usr/lib/nodejs/babel-core/lib/transformation/file/options/option-manager.js
307:16-34 Critical dependency: the request of a dependency is an expression

WARNING in /usr/lib/nodejs/babel-core/lib/transformation/file/index.js
511:24-39 Critical dependency: the request of a dependency is an expression

WARNING in /usr/lib/nodejs/babel-core/lib/transformation/file/index.js
710:16-34 Critical dependency: the request of a dependency is an expression

The code below fixes babelhelpers error.

babeljs-external-helpers > dist/external-helpers.js
cat dist/external-helpers.js dist/rollup-plugin-babel.cjs.js > dist/tmp.js
mv dist/tmp.js dist/rollup-plugin-babel.cjs.js
rm dist/external-helpers.js

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180118/8cb50767/attachment.sig>


More information about the Pkg-javascript-devel mailing list