0

I’m trying to deploy a Medusa v2 project on Render, but I’m running into an issue where Render cannot find the index.html file for the admin panel.

I’ve already set the folder from the medusa2 admin template, but I’m not sure if I need to configure something in my package.json (such as a custom route or build command) so that Render can correctly locate the admin folder inside my src directory.

I’m only trying to deploy the default Medusa v2 templates — I haven’t added any custom code beyond what comes with the original repository.

Here’s my repository for reference:

https://github.com/jesusparfer27/medusa-setup

¿Do I need to put in other repository de Frontend of the Admin Backend and deploy it on Vercel?

1 Answer 1

0

After running the build commande, you should move to .medusa/server and then start.

or run this commande directly:

cd .medusa/server && npx medusa start

check documentation for reference: https://docs.medusajs.com/learn/build

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.