Hey, I wanted to get into KotlinJS today but I can...
# javascript
j
Hey, I wanted to get into KotlinJS today but I can not seem to get it working. I tried every template in the setup dialogue for a new project and even download the code from try.kotlin. I'm a relatively new programmer so I don't really know what information to include here. Anyways: Gradle seems to have this problem: "execution failed for task ' kotlin npm install'" And even while it's running I get this message warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer-test > mocha > debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer-test > mocha > mkdirp@0.5.3: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer-test > mocha > chokidar > fsevents@2.1.3: "Please update to latest v2.3 or v2.2" warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning workspace-aggregator-4b3bae44-befc-4a3d-a00e-f37f3ece851c > confexplorer > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated My node version is 14+ (I downloaded the LTS version) and installed yarn (1) Any suggestions on how to get it running? I tried googling it but had no success. Thanks in advance
t
Which project do you need?
j
The browser target
t
You can use this example for start
It works
j
Thank you! I'll give it a shot
It works now. I don't know if it was my notorious bad internet, or that I reinstalled node. Thanks for your help!
👍 1