#MissingDriverError after running migration script (updating to Medusa 1.7.5)

17 messages · Page 1 of 1 (latest)

brisk seal
#

Updated from 1.7.1 to 1.7.5.

Getting the below error after running node ./node_modules/@medusajs/medusa/dist/scripts/sales-channels-migration.js

Following these steps - https://docs.medusajs.com/advanced/backend/upgrade-guides/medusa-core/1-7-3

[]$ node ./node_modules/@medusajs/medusa/dist/scripts/sales-channels-migration.js
MissingDriverError: Wrong driver: "undefined" given. Supported drivers are: "cordova", "expo", "mariadb", "mongodb", "mssql", "mysql", "oracle", "postgres", "sqlite", "better-sqlite3", "sqljs", "react-native", "aurora-data-api", "aurora-data-api-pg".
    at MissingDriverError.TypeORMError [as constructor] ...

Actions Required for v.1.7.3

broken copper
#

Are you sure you have set all env vars as in this guide?

#

Also I don't know what's going on but lately some code blocks are missing in docs for me @long lake :

#

I can see it pop up and then hide

#

That happens in numerous places

long lake
#

Thanks for pointing this out, I'll investigate the issue and see why it's happening

brisk seal
broken copper
#

@long lake It might be the react-tooltip

broken copper
long lake
broken copper
#

@brisk seal You haven't by the way happen to update typeorm to v0.3?

brisk seal
#

Typeorm version is "0.2.36"

brisk seal
broken copper
#

I don't know. I would triple check the env vars

long lake
broken copper
#

@long lake More likely it works on client side routing but not on refresh. So something with SSR styles

long lake