-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined reading "default" error on Windows when running project locally #15
Comments
I remember getting that once. Can you try deleting node_modules, installing dependencies again, and running the web app in
|
Getting same error, tried deleting node_modules to no avail. I believe it's from the Windows OS |
hmm, that should be fine tbh, @Vette1123 what operating system are you on? |
Windows 11 |
same |
maybe I'm unable to reproduce because I'm running on a Mac. I'm pretty sure this is a bun-related issue. can someone try using npm / pnpm ? |
Also, does anyone know why this is the case for windows? #11 |
I haven't got this error, i tried running the script, also manual setup, i only faced the issue mentioned here, haven't got the account id issue but thanks for your response, will try different package manager and let you know |
ran |
Can you share the |
name = "cloudflare-saas-starter" [placement] [[d1_databases]] |
@Dhravya switched to pnpm and still same error |
@Vette1123 did you also install dependencies using pnpm? |
yea, |
I'm lost I don't even know what I'm looking at! I'm just on this site so I can look like I'm doing something important in front of my girlfriend. |
paul, tell your girlfriend that i said hi to others: this is a bug in wrangler - fixing! |
any news? |
Hey did you got any fix for this |
but if we will remove this export const runtime = 'edge' then nextauth adapter will not work i think so |
it will, give it a try. auth.js supports both edge and node runtime |
not able to figure it out, working fine in a plain next js app but cloning the same in turborepo is giving error |
getting this error as well. |
Yup same error for me as well on windows. Any possible workaround for this yet? |
@codingforfoodllc @ioabhishek @leestreetnet @Vette1123 @paulls597 @jfortez @leestreetnet @Dhravya Later I faced some error related to the auth call and stuff made inside page.tsx
and that is coz next auth 5.0.0-beta.19 is not really in good terms with --turbo apparently lol (nextauthjs/next-auth#11076) |
@jivjen thanks for --turbo fix! Hitting the |
@leestreetnet Try deleting node_modules and package-lock.json from the directories and do a fresh install. Hopefully that should resolve it. |
@jivjen |
I followed your steps regarding how to run the project, but i keep getting this error
The text was updated successfully, but these errors were encountered: