Racka N
06/05/2022, 7:49 PMModule not found: Error: Can't resolve 'util' in 'C:\Users\bmkil\IdeaProjects\Kotlin-Conf-React\build\js\node_modules\cacheable-lookup\source'
for a lot of Modules
and
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
I tried using this doc to resolve them but have had no luck so far. And resources regarding this are very scarce. Any help would be appreciatedRacka N
06/05/2022, 7:51 PM// ReactYoutube.kt
@file:JsModule("@lite-embed/react")
@file:JsNonModule
package explorer
import react.ComponentClass
import react.Props
@JsName("ReactYouTubeLite")
external val YoutubeLite: ComponentClass<ReactYouTubeProps>
external interface ReactYouTubeProps : Props {
var urlOrId: String
}
And link to @lite-embed/react is this