Answers for "error: can't resolve 'fs' in"

3

Error: Module not found: Error: Can't resolve 'fs'

Add the following to the root of the "package.json" file.

"browser": {
  "fs": false,
  "path": false,
  "os": false
}
Posted by: Guest on November-15-2021
1

Error: Can't resolve 'fs' webpack

node: {
  fs: 'empty'
}
Posted by: Guest on May-07-2020

Code answers related to "error: can't resolve 'fs' in"

Code answers related to "Javascript"

Browse Popular Code Answers by Language