Compile problem with external builds npm express module

Hello,
I am experiencing compile problem for the classes created with external builds. For example when using node express module. After external build finishes compile gets unresolved references.

Is there something I am missing in configuration or some kind of additional dependency that should be included?

Here is my build.gradle.kts
`
plugins {
id(“org.jetbrains.kotlin.js”) version “1.3.50”
}

repositories {
mavenCentral()
}
kotlin {
target {
useCommonJs()
nodejs()
}
sourceSets[“main”].dependencies {
implementation(kotlin(“stdlib-js”))
implementation(npm(“express”, “latest”))
}
}
settings.gradle.kts
pluginManagement {
repositories {
mavenCentral()
maven(url = “https://dl.bintray.com/kotlin/kotlin-dev”)
}
}
`

@sasa.dautovic Hi! I failed to reproduce the problem. Can you attach a sample project?