I'm opening <https://github.com/gradle/kotlin-dsl/...
# intellij
r
I'm opening https://github.com/gradle/kotlin-dsl/tree/master/samples/hello-js directly in IJ (using the Gradle project model) and it doesn't run from within IJ -- 404's for kotlin.js and output.js.
n
works for me:

https://i.imgur.com/OXw9Et2.png

did you run
assemble
?
r
I did. How did you run it. Just Run from
index.html
?
The
build/web/
directory seems to contain everything it needs to: the
index.html
,
kotlin.js
, and
output.js
files are all there. The IJ "server" finds index.html but not the other two files, even though the networking tab indicates it is looking in seemingly the right place.
image.png
If I open the index.html directly in the browser there is no issue. Its running it from IJ that is the issue. @Nikky did you try run from within IJ?
n
ah thats what you meant, well i never used that feature.. lets see if i can make that work
i assume thats part of ultimate edition though
r
Yeah I think so -- JS support is only in Ultimate AFAIK and that's what I am using.