#Medusa migrations not working

1 messages · Page 1 of 1 (latest)

quartz sphinx
#

Hi we got a new database and we are trying to run migrations to have it work on our instance

medusa migrations [action]

Manage migrations from the core and your own project

Options:
 --verbose                Turn on verbose output                                             [boolean] [default: false]
 --no-color, --no-colors  Turn off the color in output                                       [boolean] [default: false]
 --json                   Turn on the JSON logger                                            [boolean] [default: false]
 --action                                                                 [required] [choices: "run", "revert", "show"]
 -h, --help               Show help                                                                           [boolean]
 -v, --version            Show the version of the Medusa CLI and the Medusa package in the current project    [boolean]
error:   Error in loading config: Cannot find module '/Users/dutch22/Documents/GitHub/storefront/my-medusa-admin/node_modules/medusa-config'
Require stack:```
fast phoenix
#

Are you running it at the root of your project? As per the error message, the medusa-config is not foud

quartz sphinx
#

correct i wasnt in the root of the project

#

how ever now i am a similar error is shown

#

@fast phoenix

#

thank you for your assistance

#

ther was a error in pkg.json lol

#

i realised this from this doc