Module not found: Can't resolve 'fs' #66624
-
I'm following the app router dashboard tutorial and have just attempted to implement auth according to this page. It's probably worth mentioning I'm working in GitHub codespaces. When I click the "Login" link my terminal says:
Most of what I've found is this is related to running server components on the client side. I don't think that's my case because in the 4 files listed from the trace that are in my source, only login-form.tsx has "use client", and this matches the docs. Here is my package.json:
Any help would be super appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Did you put a |
Beta Was this translation helpful? Give feedback.
Did you put a
use server
directive at top of the file that contains your server actions?