I'm getting this error now even though I haven't changed any project configuration. Not entirely sure why or where it's coming from. Would anyone here know?
Copy code
Execution failed for task ':common:jsBrowserDevelopmentWebpack'.
> Module 'fs' not found
r
rnett
03/14/2021, 3:58 AM
fs
is a NodeJS module, and I don't think there's a browser equivalent. Do you have any custom webpack configs, or a node target?
➕ 1
d
Derek Ellis
03/14/2021, 1:49 PM
It's a browser-only project, and no custom webpack configs. I've seen the issue come up when working directly with webpack, I'm just surprised (and confused!) that it's happening with Kotlin/JS
Derek Ellis
03/14/2021, 2:31 PM
It seems to be because I'm using sqldelight's js driver
Derek Ellis
03/14/2021, 2:41 PM
Oh, yeah, I see now in the sqldelight sample they have some custom webpack config to fix the issue