Module not found: Can't resolve 'fs' in Next.js application
Similar to async/await error in client side, this is caused by using a Node operation in the client-side component.
async/await
fs