Mranders
08/27/2020, 12:52 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':hltv-app:browserProductionWebpack'.
> Module 'kotlin-extensions' not found
Module 'kotlin-react' not found
Module 'kotlin-styled' not found
Module 'kotlin-wrappers-kotlin-css' not found
We have the following dependencies declared:
implementation "org.jetbrains:kotlin-react:16.13.1-pre.111-kotlin-1.4.0"
implementation "org.jetbrains:kotlin-react-dom:16.13.1-pre.111-kotlin-1.4.0"
implementation "org.jetbrains:kotlin-react-router-dom:5.1.2-pre.112-kotlin-1.4.0"
implementation "org.jetbrains:kotlin-styled:1.0.0-pre.112-kotlin-1.4.0"
implementation "org.jetbrains:kotlin-extensions:1.0.1-pre.112-kotlin-1.4.0"
.. And the following NPM dependencies:
implementation(npm("react", "16.13.1"))
implementation(npm("react-dom", "16.13.1"))
implementation(npm("react-router-dom", "5.2.0"))
Has anyone experienced this error, and have some way to solve it?Ilya Goncharov [JB]
08/27/2020, 1:28 PMbuild/js/node_modules
Do you have such modules here?Mranders
08/27/2020, 1:58 PMimplementation group: 'com.ccfraser.muirwik', name: 'muirwik-components', version: '0.5.1'
Bumping it to 0.6.0 (released yesterday) fixed the problem.Ilya Goncharov [JB]
08/27/2020, 2:01 PMpre.
versions for kotlin wrappers and now kotlin-wrappers contains information about its npm dependencies, so you can not explicitly set react
, react-dom
and react-router-dom