Skip to main content

Common Create-React-App Errors

TypeError: cmd is not a function

This error typically occurs when you set up a Medusa project with create-medusa-app and try to run the Medusa backend.

To resolve this issue, make sure you change into the backend directory of the Medusa project you created before trying to start the Medusa backend:

cd backend
npx @medusajs/medusa-cli develop

Other Errors

If you ran into another error, please try to search through our GitHub issues to see if there's a solution for your issue. If not, please create an issue on GitHub and our team will help you resolve it soon.

Was this page helpful?