Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Add instructions on how to open this project in intellij #10

Open
StokeMasterJack opened this issue May 13, 2017 · 4 comments
Open

Add instructions on how to open this project in intellij #10

StokeMasterJack opened this issue May 13, 2017 · 4 comments

Comments

@StokeMasterJack
Copy link

This may sound like a stupid question, but it is not obvious how to open this project in intellij. Do we use "Import Project" or "Open".

If I choose open, I'm prompted to import gradle project. Then it asks:

Please select the modules/data to include in the project. If you accept the default (all of them) you are then prompted to remove something from the project:

image

Should it be this complex to open a project in IntelliJ?

@StokeMasterJack
Copy link
Author

Then after accepting all of the defaults, I end up getting this message:

image

But if do as instructed, I get more errors:

image

I am guessing that many Kotlin early adopters are also IntelliJ users. So it would be a good idea to make it simple for these folks.

@StokeMasterJack
Copy link
Author

So after all that, I went to line 29 of HomeView.kt and changed:

h2 { +"Thoughts" }

to

h2 { +"Thoughts 2" }

Then I hit Command + S.

Went back to browser, hoping to see hot reload. No hot reload. So next I tried doing Command + F9. Then I hit refresh in the browser. And that caused the client to crash, with this message in the JavaScript console:

Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, open '/Volumes/repos/kotlin-fullstack-sample/frontend/build/js/frontend.js'

@dabeschte
Copy link

dabeschte commented May 16, 2017

Hi! I'm having the same troubles you had opening this project. How did you solve them?

I always get the error message "Error: Failed to load project configuration: cannot read file .....idea\misc.xml .... not found"

@Maartyl
Copy link

Maartyl commented May 18, 2017

@dabeschte I solved that error by going to errors in backend, and a "Select SDK" popped up, I selected 1.8 and building's been working ever since.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants