I'm getting ```Error: Cannot find module 'kotlin' ...
# javascript
c
I'm getting
Copy code
Error: Cannot find module 'kotlin'
Require stack:
- /…/build/js/packages_imported/kotlin-test/1.9.21/kotlin-test.js
- /…/build/js/packages/Prepared-runners-runner-kotlin-test-test/kotlin/Prepared-runners-runner-kotlin-test.js
- /…/build/js/packages/Prepared-runners-runner-kotlin-test-test/kotlin/Prepared-runners-runner-kotlin-test-test.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Function.Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
when trying to run tests with kotlin-test on JS (both browser and node). What can I do to fix this?
a
@Ilya Goncharov [JB] did you meet something like this?
i
Do you have some custom configuration in your build?
c
I do, but I don't believe it should impact anything related to this… • build.gradle.kts • Convention plugin: uses JUnit5 • Convention plugin: Dokka & Maven publishing (should not impact anything related to this?) • Version catalog That should be it.