Use one js module as a dependency to another



I have a gradle project with 2 kotlin to js modules. Both compiles to ‘commonjs’.
If I add first as a dependency to second, IDE sees all classes from first module, but I get symbol not found error at compile time.
Is it possible to depend on kotlin js module?


Could you please publish your project so that we could analyze it and find the reason?


Hello, Alexey!
Thanks for your reply!

I create minimal working repo to publish it here, and find out that it works well.
So I recreate modules in my working project and it works, too.
Can’t compare current modules with previous (that wasn’t work) to find differences, because I removed them.

Thanks for your help!