Open matbrgz opened 1 year ago
This project is in maintenance mode and only very critical fixes are attended to. I recommend switching to our new admin system. It should resolve your issues.
I also encountered the same issue after installing useAdminAddLocationToSalesChannel Removing the package. json version number and reinstalling it still has the same issue
I would like to replace the Postgres database with MySQL in medusa.comfig.js if configured
npm install @medusajs/admin
Still unable to access prompt
Unexpected Application Error! The requested module '/node_modules/.vite/deps/medusa-react.js?v=6c51e4c8' does not provide an export named 'useAdminAddLocationToSalesChannel' SyntaxError: The requested module '/node_modules/.vite/deps/medusa-react.js?v=6c51e4c8' does not provide an export named 'useAdminAddLocationToSalesChannel' 💿 Hey developer 👋
You can provide a way better UX than this when your app throws errors by providing your own errorElement props on
In package.json, change version of "medusa-react" to 5.0.0 and install again should solve your problem
ohmygod481999: thank you! Dependency package installation solves the problem!!!
How to install the new version of medusa admin UI
Hello,
I'm running an application in a Docker container based on the repository https://github.com/medusajs/docker-medusa. After installing the admin module from https://github.com/medusajs/admin, I'm getting the following error:
I've tried cloning the admin repository and using Dockerfile
develop.sh
Docker Logs
Version:
I believe there may be a bug with the admin module, and I wanted to report it so it can be fixed. Additionally, I received a suggestion to provide a custom ErrorBoundary prop on to improve the UX when the app throws errors.
Thank you for your attention to this issue.