module_syntax
A module does not parse as an ECMAScript 2023 module.
A module does not parse as an ECMAScript 2023 module.
| Kind | Build or validation problem |
| Reported by | Archive and source validation |
disko exit code | 1 (problems) |
A module does not parse as an ECMAScript 2023 module. The problem gives the line and column of the first error in the file.
Why it happens
An ordinary syntax error, such as a missing bracket.
CommonJS habits that are invalid in strict-mode modules, such as
withor octal literals like010.Syntax newer than ECMAScript 2023 in
.jsfiles: decorators,usingdeclarations,accessorclass fields, the regular expressionvflag, orimport source/import defer.JSX, which is not JavaScript.
Wrong
src/main.js
Right
src/main.js