Files
medusa-store/docs/content/troubleshooting/create-medusa-app-errors/_eagain-error.md
2023-08-01 10:50:19 +03:00

840 B

When using the create-medusa-app npx command, you might run into an NPM EAGAIN error. This error can randomly occur due to conflicting processes.

The easiest solution is to start the command over. Alternatively, if your setup crossed the "create database" point, you can manually perform the following steps in the directory of your created project. You can skip any steps that you're sure have been performed by create-medusa-app:

1. Install dependencies:

npm install

2. Build project:

npm run build

3. Run migrations:

npx medusa migrations run

4. Create an admin user:

npx medusa user -e user@test.com -p supersecret

5. Optionally seed the database:

npx medusa seed -f ./data/seed.json

6. Start project:

npx medusa develop