Migrated react app from firebase to pages, getting error e is null during runtime

I migrated my create react app from firebase to cloudflare pages but now it gives an error e is null. The build succeeds without any problem. It still depends on the firebase for authentication but that should not be an issue given it also works locally. I did not use npm create cloudflare@latest my-react-app -- --framework=react as I already have an existing codebase. Am I missing something? I also defined the env variable NODE_VERSION=20 since we are using 20.x.
0 Replies
No replies yetBe the first to reply to this messageJoin