Cannot get the repo started on local
I am on windows node v18.14.1, I cloned the repo but cannot get it started. It gives an error of Error: Objects are not valid as a React child (found: [object Promise])
I think Page.js is not treated as a server component, hence you are not allowed to have the async component. Do you mind giving more details on the environment? Thank you
Hi @dumbokitty! Sorry you're hitting this issue. My environment setup is the following:
- MacOS 13.3.1
- npm 9.5.1
- node 18.16.0
Just cloned and installed with npm to verify it isn't a pnpm issue. Interestingly though, npm view react version logs 18.2.0, when I would expect the experimental version in my package.json. It may be time to revisit these version dependencies in case there's a stable release we can use...
For now, I may try installing and running with pnpm to see if this resolves your issue. You can also investigate installing the latest package versions, though I have a feeling we should investigate whether react-server-dom-webpack's peer deps are causing the issue for you:
npm i react@latest react-dom@latest react-server-dom-webpack@latest --legacy-peer-deps
Update: I just noticed the npm package lock was out of date. Pushed a fix for that!