Adding Kotlin library to existing nodejs project

Hi, I am trying to learn how I could begin to add kotlin to an already existing node js project, giving me the ability to write new files in kotlin and leaving my old files in javascript. I started by adding a new Kotlin module to my existing node project and adding a new class to the src dir.

When I first tried to compile I received the error: Cannot start compilation: the output path is not specified for module “kotlin”. Specify the output path in Configure Project. Once that window open up I select the “Paths” tab and changed to “Use module compile output path” and hitting ok. Now when I try to compile it appears to succeed, but I cannot find any compiled kotlin output files anywhere.

Should I be able to mix kotlin with an existing project like this? I can’t seem to find any documentation or tutorial on supporting this.