Open riyavsinha opened 6 years ago
As per https://github.com/facebook/create-react-app/issues/3074, the 'fs' module is stubbed out as empty when using create-react-app (printing an imported 'fs' module returns {}).
Importing modules using this module as a dependency therefore always throw with TypeError: 'exists' is not a function.
As per https://github.com/facebook/create-react-app/issues/3074, the 'fs' module is stubbed out as empty when using create-react-app (printing an imported 'fs' module returns {}).
Importing modules using this module as a dependency therefore always throw with TypeError: 'exists' is not a function.