medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
24.45k stars 2.4k forks source link

V2 : createFiberFromTypeAndProps error ( Edit Ranking ) #7993

Closed alsherif-khalaf closed 2 weeks ago

alsherif-khalaf commented 2 months ago

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

Screenshot from 2024-07-06 13-15-32

alsherif-khalaf commented 1 month ago

using new upgrade :

image

image

1ezzy commented 1 month ago

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.

Screenshot 2024-07-18 at 3 20 48 PM
YoungCR commented 1 month ago

I have the same "createFiberFromTypeAndProps@http: //localhost" from above. Fresh install on Mac OS 14.5

matasskarzauskas commented 1 month ago

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`.
alsherif-khalaf commented 1 month ago

I tried the latest preview and the problem still exist

kasperkristensen commented 2 weeks ago

Thanks for the report, the issue has been fixed in #8599, and is available in the latest preview release.