Hi @insi,
I've got the same issue as described here:
https://github.com/request/request/issues/1529
I've tried the proposed fix - adding webpack.config.js - but it's not working.
Could you have a look and describe how to fix it inside nwb?
Thanks a lot,
Alex
Found how to solve this issue by adding webpack.extra inside nwb.config.js after reading the Configuration documentation: https://github.com/insin/nwb/blob/master/docs/Configuration.md#extra-object
module.exports = {
...
webpack: {
extra: {
module: {
noParse: /node_modules\/json-schema\/lib\/validate\.js/
},
node: {
console: true,
fs: 'empty',
net: 'empty',
tls: 'empty'
}
}
}
}
Most helpful comment
Found how to solve this issue by adding
webpack.extrainsidenwb.config.jsafter reading the Configuration documentation: https://github.com/insin/nwb/blob/master/docs/Configuration.md#extra-object