philip.2000
philip.2000
TTCTheo's Typesafe Cult
Created by philip.2000 on 6/29/2023 in #questions
Can't resolve 'fs' but in an API route???
Thanks for the help
10 replies
TTCTheo's Typesafe Cult
Created by philip.2000 on 6/29/2023 in #questions
Can't resolve 'fs' but in an API route???
Seems like the nextRuntime cannot be edge but has to be nodejs.
10 replies
TTCTheo's Typesafe Cult
Created by philip.2000 on 6/29/2023 in #questions
Can't resolve 'fs' but in an API route???
I think I found the problem
10 replies
TTCTheo's Typesafe Cult
Created by philip.2000 on 6/29/2023 in #questions
Can't resolve 'fs' but in an API route???
I mean, I only use fs in the API route. Do I really need to change the next config? Feels a bit weird since app router is pretty server-first, isn't it?
10 replies