There's a problem with NodeJs 14.17.0 on computers with MacOS and M1 CPU.
Kotlin with version 1.6.10 downloads this version of node so the application can't be built.
Here's the link to an example discussion:
https://youtrack.jetbrains.com/issue/KT-49109
There's a problem with NodeJs 14.17.0 on computers with MacOS and M1 CPU. Kotlin with version 1.6.10 downloads this version of node so the application can't be built. Here's the link to an example discussion: https://youtrack.jetbrains.com/issue/KT-49109
Here, you can find the version suggested by Kotlin developers (1.6.21): https://kotlinlang.org/docs/js-project-setup.html
That's why I have updated the version of Kotlin to 1.6.21.