Closed alsherif-khalaf closed 2 weeks ago
using new upgrade :
experiencing a similar issue when trying to create a category -- just installed v2, spun up the application, and tried creating a category with no luck. Firefox on macOS using v2 preview, screenshots attached.
I have the same "createFiberFromTypeAndProps@http: //localhost" from above. Fresh install on Mac OS 14.5
Having the same issue when trying to create a category. Using preview version.
Check the render method of "CategoryTree".
CategoryTree@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-N6XVZEBD.js?v=905b147e:2021:20
CreateCategoryNesting@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/category-create-M6YVAN7L-K26GDAZN.js?v=905b147e:165:29
div
Primitive</Node2<@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-X6RHCQSI.js?v=905b147e:29021:44
Presence@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-X6RHCQSI.js?v=905b147e:29554:33
TabsContent<@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/ch…```
```Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of "CategoryTree".
div
CategoryTree@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-N6XVZEBD.js?v=905b147e:2021:20
CreateCategoryNesting@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/category-create-M6YVAN7L-K26GDAZN.js?v=905b147e:165:29
div
Primitive</Node2<@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-X6RHCQSI.js?v=905b147e:29021:44
Presence@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-X6RHCQSI.js?v=905b147e:29554:33
TabsContent<@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/admin-sdk/node_modules/.vite/deps/chunk-X6RHCQSI.js?v=905b147e:59361:75
ProgressTabsContent<@http://localhost:9000/app/@fs/home/matas/codinity-back/node_modules/@medusajs/ad…
React Router caught the following error during render Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of `CategoryTree`.
I tried the latest preview and the problem still exist
Thanks for the report, the issue has been fixed in #8599, and is available in the latest preview
release.
Bug report
Describe the bug
An error occurred while rendering the Medusa Admin page. The specific error message is "An error occurred while rendering this page" followed by "createFiberFromTypeAndProps@http://localhost:9000/static/js/main.chunk.js".
System information
Medusa version (including plugins): Node.js version: Database:postgresql 16 Operating system: ubuntu 24.04 Browser (if relevant): firefox
Steps to reproduce the behavior
just installed v2 and go to categorise and click on edit ranking
Expected behavior
it shoud open a new editing window
Screenshots