You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
After investigating, it turns out that the cause of the problem is our packages manager: yarn 4. The problem does not occur with a package manager such as npm or yarn 1. And I can confirm that @forestadmin/[email protected] works correctly with yarn 4.
Actual behavior
Using
@forestadmin/[email protected]
with@forestadmin/[email protected]
throws the following error:Context
DefaultErrorStrategy
is from theantlr4
package, which had an old, related issue: Antlr4 JS/TS runtimeDefaultErrorStrategy
isundefined
antlr/antlr4#4287The text was updated successfully, but these errors were encountered: