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
External module is importing @overture-stack/[email protected] and it fails to run Database migrations.
Expected Behaviour
To be able to use migrate function and successfully run Lyric DB migrations.
Actual Behaviour
Calling migrate function when imported from external module throws an error:
Error:
node:internal/process/esm_loader:34
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/@[email protected]/node_modules/@overture-stack/lyric-data-model/index.js' imported from /Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/@[email protected]/node_modules/@overture-stack/lyric/dist/index.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolveBase (file:///Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/esm/index.mjs?1732729603003:2:3212)
at resolveDirectory (file:///Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/esm/index.mjs?1732729603003:2:3584)
at resolveTsPaths (file:///Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/esm/index.mjs?1732729603003:2:4073)
at resolve (file:///Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/esm/index.mjs?1732729603003:2:4447)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///Users/lrivera/dev/virusseq_submission-service/node_modules/.pnpm/@[email protected]/node_modules/@overture-stack/lyric-data-model/index.js'
}
Description
External module is importing
@overture-stack/[email protected]
and it fails to run Database migrations.Expected Behaviour
To be able to use
migrate
function and successfully run Lyric DB migrations.Actual Behaviour
Calling
migrate
function when imported from external module throws an error:Error:
Your Environment
The text was updated successfully, but these errors were encountered: