[Pkg-javascript-devel] need help with build error
Pirate Praveen
praveen at debian.org
Fri Jan 5 14:12:16 UTC 2018
Control: tags -1 help
code is here https://salsa.debian.org/js-team/node-rollup-plugin-babel
since rollup is not in main, trying to use webpack, but getting this error.
webpack --config debian/webpack.config.js \
--target node \
--output-library-target=commonjs \
src/index.js dist/rollup-plugin-babel.cjs.js
Hash: bb9073a32e1a797a8c70
Version: webpack 3.5.6
Time: 6970ms
Asset Size Chunks Chunk Names
rollup-plugin-babel.cjs.js 1.48 MB 0 [emitted] [big] main
[151] /usr/lib/nodejs/babel-core/index.js 46 bytes {0} [built]
[152] /usr/lib/nodejs/babel-core/lib/api/node.js 4.34 kB {0} [built]
[242] ./src/constants.js 121 bytes {0} [built]
[243] ./src/index.js 3.11 kB {0} [built]
[534] /usr/lib/nodejs/babel-core/lib/tools/build-external-helpers.js
3.64 kB {0} [built]
[535] /usr/lib/nodejs/babel-core/package.json 303 bytes {0} [built]
[failed] [1 error]
[536] /usr/lib/nodejs/babel-core/lib/transformation/pipeline.js 2.19 kB
{0} [built]
[538] /usr/lib/nodejs/rollup-pluginutils/index.js 438 bytes {0} [built]
[539] /usr/lib/nodejs/rollup-pluginutils/addExtension.js 197 bytes {0}
[built]
[540] /usr/lib/nodejs/rollup-pluginutils/attachScopes.js 3.17 kB {0}
[built]
[542] /usr/lib/nodejs/rollup-pluginutils/createFilter.js 939 bytes {0}
[built]
[600] /usr/lib/nodejs/rollup-pluginutils/makeLegalIdentifier.js 1.28 kB
{0} [built]
[601] ./src/preflightCheck.js 1.35 kB {0} [built]
[602] ./src/helperPlugin.js 662 bytes {0} [built]
[603] ./src/utils.js 115 bytes {0} [built]
+ 589 hidden modules
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/base/utils.js
3:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
WARNING in /usr/lib/nodejs/use/utils.js
3:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
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
WARNING in /usr/lib/nodejs/is-descriptor/utils.js
7:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
ERROR in /usr/lib/nodejs/globals/globals.json
Module build failed: SyntaxError: Unexpected token, expected ; (2:10)
1 | {
> 2 | "builtin": {
| ^
3 | "Array": false,
4 | "ArrayBuffer": false,
5 | "Boolean": false,
@ /usr/lib/nodejs/globals/index.js 1:17-42
@ /usr/lib/nodejs/babel-traverse/lib/scope/index.js
@ /usr/lib/nodejs/babel-traverse/lib/index.js
@ /usr/lib/nodejs/babel-core/lib/api/node.js
@ /usr/lib/nodejs/babel-core/index.js
@ ./src/index.js
ERROR in /usr/lib/nodejs/babel-core/package.json
Module build failed: SyntaxError: Unexpected token, expected ; (2:8)
1 | {
> 2 | "name": "babel-core",
| ^
3 | "version": "6.25.0",
4 | "description": "Babel compiler core.",
5 | "author": "Sebastian McKenzie <sebmck at gmail.com>",
@ /usr/lib/nodejs/babel-core/lib/api/node.js 60:15-39
@ /usr/lib/nodejs/babel-core/index.js
@ ./src/index.js
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180105/44fe16be/attachment.sig>
More information about the Pkg-javascript-devel
mailing list