[Pkg-javascript-devel] Bug#958778: Bug#958778: node-babel: Package fail to build with node-gulp-babel 8.8.0
Xavier
yadd at debian.org
Sat Apr 25 10:54:01 BST 2020
Le 25/04/2020 à 10:01, yadd at debian.org a écrit :
> Package: node-babel
> Severity: important
>
> This package fails to build with node-gulp-babel 8.0.0 (available in
> experimental dist). Maybe just a missing dependency to a node-babel
> (6) package.
We should perhaps embed old libs in node-babel-6, error are like:
SyntaxError:
/<<PKGBUILDDIR>>/packages/babel-core/src/transformation/file/options/index.js:
Unexpected token, expected "," (6:40)
4 | export { config };
5 |
> 6 | export function normaliseOptions(options: Object = {}): Object {
| ^
7 | for (const key in options) {
8 | let val = options[key];
9 | if (val == null) continue;
at Parser.raise (/usr/share/nodejs/@babel/parser/lib/index.js:6344:17)
at Parser.unexpected
(/usr/share/nodejs/@babel/parser/lib/index.js:7659:16)
at Parser.expect (/usr/share/nodejs/@babel/parser/lib/index.js:7645:28)
at Parser.parseBindingList
(/usr/share/nodejs/@babel/parser/lib/index.js:7962:14)
at Parser.parseFunctionParams
(/usr/share/nodejs/@babel/parser/lib/index.js:10523:24)
at Parser.parseFunction
(/usr/share/nodejs/@babel/parser/lib/index.js:10499:10)
at Parser.parseFunctionStatement
(/usr/share/nodejs/@babel/parser/lib/index.js:10139:17)
at Parser.parseStatementContent
(/usr/share/nodejs/@babel/parser/lib/index.js:9829:21)
at Parser.parseStatement
(/usr/share/nodejs/@babel/parser/lib/index.js:9791:17)
at Parser.parseExportDeclaration
(/usr/share/nodejs/@babel/parser/lib/index.js:10983:17)
More information about the Pkg-javascript-devel
mailing list