docs: used the NPX CLI tool across docs (#4099)
This commit is contained in:
@@ -8,7 +8,7 @@ To resolve this issue, make sure you change into the `backend` directory of the
|
||||
|
||||
```bash npm2yarn
|
||||
cd backend
|
||||
npm run start
|
||||
npx @medusajs/medusa-cli develop
|
||||
```
|
||||
|
||||
## Other Errors
|
||||
|
||||
@@ -5,7 +5,7 @@ If you run into errors after updating Medusa and its dependencies, it's highly r
|
||||
If there's no upgrade guide for your version, make sure that you ran the `migrations` command in the root directory of your Medusa backend:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
This ensures your backend has the latest database structure required. Then, try running your Medusa backend again and check whether the same error occurs.
|
||||
|
||||
@@ -10,7 +10,7 @@ password: supersecret
|
||||
Alternatively, you can create your own users using the Medusa CLI tool:
|
||||
|
||||
```bash
|
||||
medusa user -e some@email.com -p somepassword
|
||||
npx @medusajs/medusa-cli user -e some@email.com -p somepassword
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@@ -41,7 +41,7 @@ database_database: "./medusa-db.sql",
|
||||
Then, migrate the database schema to the new PostgreSQL database:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
:::tip
|
||||
|
||||
Reference in New Issue
Block a user