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
When attempting to undo a migration, I get the following error
TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///Users/path_to_my_file/migrations/_current_bak.json" needs an import assertion of type "json"
at new NodeError (node:internal/errors:393:5)
at validateAssertions (node:internal/modules/esm/assert:82:15)
at defaultLoad (node:internal/modules/esm/load:84:3)
at nextLoad (node:internal/modules/esm/loader:161:28)
at ESMLoader.load (node:internal/modules/esm/loader:593:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:445:22)
at new ModuleJob (node:internal/modules/esm/module_job:63:26)
at #createModuleJob (node:internal/modules/esm/loader:468:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:422:34)
at async Promise.all (index 0) {
code: 'ERR_IMPORT_ASSERTION_TYPE_MISSING'
}
The text was updated successfully, but these errors were encountered:
When attempting to undo a migration, I get the following error
The text was updated successfully, but these errors were encountered: