Kotlin REPL won't run

Answered

When I click on tools>kotlin>kotlin REPL, a message tells me that the modules aren't loaded. HUH? Yet when I check the plugins, there's a checkmark next to kotlin!

I uninstalled & reinstalled intellij hoping that would solve the problem. It didn't. Why is intellij complaining about missing modules?

5 comments
Comment actions Permalink

Could you please post a screenshot of the exact error message the REPL is giving you?

0
Comment actions Permalink

A window in the lower-right which states "Kotlin REPL configuration error; no modules were found".

0
Comment actions Permalink

Do you have a project open when you try to invoke the action? What kind of project is it?

0
Comment actions Permalink

No. I watched a YouTube video that explained how to use the kotlin REPL.

0
Comment actions Permalink

At this time the Kotlin REPL requires you to have a project open. You don't need to configure anything specific in the project; a Java project with the default settings will run just fine.

If you want to try Kotlin without configuring anything, you can use the online IDE at http://try.kotlinlang.org/

0

Please sign in to leave a comment.