medusa
medusa copied to clipboard
Error: Command "yarn build:admin" exited with 1 during medusa-admin vercel deployment
Preliminary Checks
- [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues
Issue Summary
I have an error during medusa-admin vercel deployment. The log is attached:
TypeError: Cannot read properties of undefined (reading 'plugins')
16:50:10.896 | at loadConfig (/vercel/path0/node_modules/@medusajs/admin/utils/load-config.js:8:31)
16:50:10.897 | at Command.
How can this issue be resolved?
...
Are you interested in working on this issue?
- [ ] I would like to fix this issue
any solution?
This could be an issue with your medusa-config.js
. Can you start your server locally?
@ikritiuk you have cloned the wrong repository. You need to use medusa-starter-default. https://github.com/medusajs/medusa-starter-default. to build admin.
Hey, thanks for the report! Since v2 brought a lot of architectural and API changes on the backend, we will be closing this ticket since it no longer applies to our new setup, or the issue has already been fixed. If you are still facing issues with v1, please open a new ticket and we will address it as soon as possible. Thanks! 🙏