I'm getting this error now even though I haven't c...
# javascript
d
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
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
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
It seems to be because I'm using sqldelight's js driver
Oh, yeah, I see now in the sqldelight sample they have some custom webpack config to fix the issue
👆 1