node_modules/@forestadmin/datasource-customizer/dist/decorators/search/custom-parser/custom-error-strategy.js:4
class CustomErrorStrategy extends antlr4_1.DefaultErrorStrategy {
^
TypeError: Class extends value undefined is not a constructor or null
at Object.<anonymous> (node_modules/@forestadmin/datasource-customizer/dist/decorators/search/custom-parser/custom-error-strategy.js:4:44)
Actual behavior
Using
@forestadmin/agent@1.38.1with@forestadmin/datasource-customizer@1.43.1throws the following error:Context
DefaultErrorStrategyis from theantlr4package, which had an old, related issue: Antlr4 JS/TS runtimeDefaultErrorStrategyisundefinedantlr/antlr4#4287