I have resolve it brother, you have to use it Server Side as it is a node library and browser doesn't has fs module, use it in getserversideprops. it is not a bug.
M
Best posts made by mayank112
-
RE: Module not found: Can't resolve 'fs'