Skip to content

Can't resolve 'fs' - NEXT.js #219

Answered by ben-rogerson
tonymanuel asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, check out this next config for the fix.
New: This isn't needed in newer versions of next. If you're seeing errors, try removing your .next folder and restarting your dev process.

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
7 replies
@ben-rogerson
Comment options

@OladetounJed
Comment options

@ben-rogerson
Comment options

@aroc
Comment options

@aroc
Comment options

Answer selected by tonymanuel
Comment options

You must be logged in to vote
10 replies
@xairoo
Comment options

@Oyelowo
Comment options

@ben-rogerson
Comment options

@isurucuma
Comment options

@ben-rogerson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants