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
Builds for testing the TypeScript target get the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\msys64\home\Kenne\issues\g4-3880\abb\Generated-TypeScript\abbLexer' imported from C:\msys64\home\Kenne\issues\g4-3880\abb\Generated-TypeScript\Test.js
Did you mean to import ../abbLexer.js?
at finalizeResolution (node:internal/modules/esm/resolve:264:11)
at moduleResolve (node:internal/modules/esm/resolve:917:10)
at defaultResolve (node:internal/modules/esm/resolve:1130:11)
at nextResolve (node:internal/modules/esm/hooks:749:28)
at resolve (C:\Users\kenne\AppData\Roaming\npm\node_modules\ts-node\dist\child\child-loader.js:15:125)
at nextResolve (node:internal/modules/esm/hooks:749:28)
at Hooks.resolve (node:internal/modules/esm/hooks:237:30)
at handleMessage (node:internal/modules/esm/worker:199:24)
at checkForMessages (node:internal/modules/esm/worker:141:28)
at process.<anonymous> (node:internal/modules/esm/worker:160:5) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/msys64/home/Kenne/issues/g4-3880/abb/Generated-TypeScript/abbLexer'
}
Fortunately, the fix is easy. Change these lines to generate this:
import abbLexer from './abbLexer.js';
import abbParser from './abbParser.js';
The text was updated successfully, but these errors were encountered:
Builds for testing the TypeScript target get the following error:
Fortunately, the fix is easy. Change these lines to generate this:
The text was updated successfully, but these errors were encountered: