Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when adding draft order using Multi-Warehouse Modules #9024

Open
urumat opened this issue Sep 5, 2024 · 1 comment
Open

Error when adding draft order using Multi-Warehouse Modules #9024

urumat opened this issue Sep 5, 2024 · 1 comment

Comments

@urumat
Copy link

urumat commented Sep 5, 2024

Hello, I'm getting this error when adding draft order from Admin Panel after installing the Multi-Warehouse Modules.

I'm using a fresh medusa installation with npx create-medusa-app@latest.

Bug report

Unexpected Application Error!
Cannot read properties of undefined (reading 'label')
TypeError: Cannot read properties of undefined (reading 'label')
at O (http://localhost:7001/node_modules_moment_locale_sync_recursive_-_cache_admin_src_pages_a_tsx.chunk.js:945:20542)
at le (http://localhost:7001/main.bundle.js:510:55325)
at http://localhost:7001/main.bundle.js:510:109743
at c7 (http://localhost:7001/main.bundle.js:510:111085)
at eh (http://localhost:7001/main.bundle.js:510:170853)
at fq (http://localhost:7001/main.bundle.js:510:156931)
at http://localhost:7001/main.bundle.js:510:156652
at fF (http://localhost:7001/main.bundle.js:510:156659)
at fP (http://localhost:7001/main.bundle.js:510:152820)
at fR (http://localhost:7001/main.bundle.js:510:153290)
💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own errorElement props on

Steps to reproduce the behavior

  1. npx create-medusa-app@latest
  2. Install Multi-Warehouse Modules
  3. Add draft order

Any help is much appreciated.

@olivermrbl
Copy link
Contributor

olivermrbl commented Sep 9, 2024

Are there more steps to the Add draft order step described here? E.g. do you complete the draft order, do you create fulfillment, do you add shipping, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants