Closed gizburdt closed 7 years ago
Hi,
When using the plugin I get this console error: fs.existsSync is not a function. Also get this error while compiling code with Webpack: Error: Can't resolve 'fs' in '/Users/Gijs/Server/anvil/node_modules/electron-json-storage/lib.
fs.existsSync is not a function
Error: Can't resolve 'fs' in '/Users/Gijs/Server/anvil/node_modules/electron-json-storage/lib
Am I doing something wrong?
Looks like a Webpack configuration issue. fs is a node built-in module. Maybe target: 'node' helps?
fs
target: 'node'
Hi,
When using the plugin I get this console error:
fs.existsSync is not a function
. Also get this error while compiling code with Webpack:Error: Can't resolve 'fs' in '/Users/Gijs/Server/anvil/node_modules/electron-json-storage/lib
.Am I doing something wrong?