Question : Error: Module not found: Error: Can't resolve 'fs'
Answered by : perfect-peccary-7rwc6szo99md
Add the following to the root of the "package.json" file.
"browser": { "fs": false, "path": false, "os": false
}
Source : https://stackoverflow.com/a/62011612/14579011 | Last Update : Mon, 22 Nov 21
Question : Module not found: Can't resolve 'fs'
Answered by : edwin-anajemba
module.exports = (phase, { defaultConfig }) => { return { ...defaultConfig, webpack: (config) => { config.resolve = { ...config.resolve, fallback: { "fs": false, "path": false, "os": false, } } return config }, }
}
Source : https://stackoverflow.com/questions/57161839/module-not-found-error-cant-resolve-fs-in | Last Update : Sun, 01 Jan 23