Hi everyone, I started a new Redwood project and followed the Redwood version 8 upgrade guide.
The "yarn rw build" command fails for me and I get the below error (also attached). I'm including an excerpt because the full error text is lengthy. I think that the line " Could not resolve entry module "react-server-dom-webpack/client.edge" indicates that something is wrong with my React dependencies versions.
ERROR EXCERPT:
✔ Generating Prisma Client...
✔ Verifying graphql schema...
✔ Building API...
✖ Command failed with exit code 1: node /Users/emiliocamposjr/2024_Projects/trackside-home-row/node_modules/@redwoodjs/vite/bins/rw-vite-build.mjs
--webDir="/Users/emiliocamposjr/2024_Projects/trackside-home-row/web" --verbose=false
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Could not resolve entry module "react-server-dom-webpack/client.edge".
at getRollupError (file:///Users/emiliocamposjr/2024_Projects/trackside-home-row/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at error (file:///Users/emiliocamposjr/2024_Projects/trackside-home-row/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
at ModuleLoader.loadEntryModule (file:///Users/emiliocamposjr/2024_Projects/trackside-home-row/node_modules/rollup/dist/es/shared/node-entry.js:19262:20)
at async Promise.all (index 33) {
code: 'UNRESOLVED_ENTRY',
END OF ERROR EXCERPT
For context, executing the "yarn" command produces warnings, which I've attached in a second screenshot. I don't know whether these warnings are related to the "yarn rw build" failing. Does anyone have suggestions for how I can fix the build failure?