I get this error when I recompile my Kotlin/JS pro...
# javascript
n
I get this error when I recompile my Kotlin/JS project in Idea while running it using `jsBrowserDevelopmentRun`:
Copy code
Uncaught Error: Module build failed (from ../../node_modules/source-map-loader/dist/cjs.js):
Error: ENOENT: no such file or directory, open '...idea-project-folder\build\js\node_modules\webpack-dev-server\client\index.js'
I use Kotlin 1.5.30 with Compose/Web 1.0.0-alpha4-build348. The
build\js\node_modules\webpack-dev-server
folder really does not exist. I have already tried setting
versions.webpackDevServer.version = "4.0.0"
(I found this hint somewhere), and setting
config.watchOptions
but nothing seems to help 😞 Do you have any idea? Thanks.
youtrack 2
It is strange: the
build\js\node_modules\webpack-dev-server
folder is created when I sync the Gradle project. But when I recompile the project in Idea while running it using
jsBrowserDevelopmentRun
, the folder gets deleted! 😕
t
Looks like issue
🙏🏻 1
😭 1
n
I've reported it: KT-48802
👍 1