CLOVIS
02/27/2020, 5:42 PM./gradlew jsTest
I get:
> Task :kotlinNpmInstall FAILED
error package.json: Name contains illegal characters
I tracked it down to this GitHub issue: https://github.com/yarnpkg/yarn/issues/1120 which says it's a problem of whitespace character in the project name. I do have whitespace in the name of my project, since that's allowed with Gradle—but apparently it's not with Yarn. Is there a way to tell the Multiplatform plugin to escape the whitespace with something else (for example underscores) automatically?
I found the generated package.json
in build/js/package.json
and the name of the project does contain spaces there as well.Eivind Nilsbakken
02/27/2020, 5:59 PMCLOVIS
02/27/2020, 6:21 PMilya.gorbunov
02/27/2020, 9:24 PMCLOVIS
03/02/2020, 4:39 PM