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
Not sure if this project is abandoned, but here goes, since an image was pushed 2 days ago; I'm using the latest docker image, and it fails with the following:
import { Migration } from '@mikro-orm/migrations';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Migrator.resolve (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:141:27)
at Object.customResolver (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:43:44)
at Migration.migration (/home/rhythmbot/node_modules/umzug/lib/migration.js:60:38)
at /home/rhythmbot/node_modules/umzug/lib/migration.js:121:37
at Generator.next (<anonymous>)
at asyncGeneratorStep (/home/rhythmbot/node_modules/umzug/lib/migration.js:9:103)
at _next (/home/rhythmbot/node_modules/umzug/lib/migration.js:11:194)
at /home/rhythmbot/node_modules/umzug/lib/migration.js:11:364
at new Promise (<anonymous>)
import { Migration } from '@mikro-orm/migrations';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Migrator.resolve (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:141:27)
at Object.customResolver (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:43:44)
at Migration.migration (/home/rhythmbot/node_modules/umzug/lib/migration.js:60:38)
at /home/rhythmbot/node_modules/umzug/lib/migration.js:121:37
at Generator.next (<anonymous>)
at asyncGeneratorStep (/home/rhythmbot/node_modules/umzug/lib/migration.js:9:103)
at _next (/home/rhythmbot/node_modules/umzug/lib/migration.js:11:194)
at /home/rhythmbot/node_modules/umzug/lib/migration.js:11:364
at new Promise (<anonymous>)
The text was updated successfully, but these errors were encountered:
@dudeofawesome Not sure if you've encountered this, but it seems like migrations isn't getting parsed correctly when run through docker. Maybe "start:prod" needs to be run with ts-node?
Not sure if this project is abandoned, but here goes, since an image was pushed 2 days ago; I'm using the latest docker image, and it fails with the following:
The text was updated successfully, but these errors were encountered: