You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v3.2.15 in docker: Having followed the GetStarted guide to the end (with books and review entities successfully created via the swagger interface), I created the 'Next.js Web App' skeleton Next.js app. When I click on 'Reviews' for a book (https://localhost/reviews/1), the app throws an error "TypeError: review.book.map is not a function". Message is:
Server Error
TypeError: review.book.map is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
Show
webpack-internal:/components/review/Show.tsx (228:67)
renderWithHooks
file:///srv/app/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5658:16)
renderIndeterminateComponent
file:///srv/app/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5731:15)
etc...
Also, when I try and run the admin app https://localhost/admin, it throws an error "TypeError: undefined is not an object (evaluating 'theme.palette.mode')"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
v3.2.15 in docker: Having followed the GetStarted guide to the end (with books and review entities successfully created via the swagger interface), I created the 'Next.js Web App' skeleton Next.js app. When I click on 'Reviews' for a book (https://localhost/reviews/1), the app throws an error "TypeError: review.book.map is not a function". Message is:
Server Error
TypeError: review.book.map is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
Show
webpack-internal:/components/review/Show.tsx (228:67)
renderWithHooks
file:///srv/app/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5658:16)
renderIndeterminateComponent
file:///srv/app/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5731:15)
etc...
Also, when I try and run the admin app https://localhost/admin, it throws an error "TypeError: undefined is not an object (evaluating 'theme.palette.mode')"
Thanks for help
Beta Was this translation helpful? Give feedback.
All reactions