Currently using https://github.com/jaredpalmer/razzle to implement SSR of a React Application. Running into the following errors within my node modules:
AND THIS
I've added a razzle.config.js to customize the razzle config to look like this(below) and the code is still not running.
module.exports = {
target: 'node',
node: {
console: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty'
}
};
Any idea as to why I'm receiving the errors and what I can do to fix?


module.exports = { modify: config => { config.node = { fs: "empty" }; return config; } };in yourrazzle.config.jsfile instead?