SyntaxError: missing ) after argument list
SimonScholz opened this issue · 0 comments
SimonScholz commented
Hi,
I just cloned this project.
I tried to build the project, but the following error occurs, when I do a ./gradlew build
:
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :kotlinNpmInstall
warning workspace-aggregator-980fedcb-b7c7-4330-a90b-b2c911346a2e > kotlin-js-demo-1.3.50 > left-pad@1.3.0: use String.prototype.padStart()
warning workspace-aggregator-980fedcb-b7c7-4330-a90b-b2c911346a2e > kotlin-js-demo-1.3.50-test > left-pad@1.3.0: use String.prototype.padStart()
tests
> Task :generateExternals FAILED
C:\Users\SCHOLZSI\git\kotlin-multi-js-jvm\kotlin-js-demo-1.3.50\build\js\packages\kotlin-js-demo-1.3.50\node_modules\.bin\dukat:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at new Script (vm.js:80:7)
at createScript (vm.js:274:10)
at Object.runInThisContext (vm.js:326:10)
at Module._compile (internal/modules/cjs/loader.js:664:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateExternals'.
>
It would be awesome if you could give me a hint on how to fix this issue.
Right now I am about to build a common library with the kotlin multiplatform approach and I´d love to make use of certain npm packages in the jsCommon SourceSet.
Thanks a lot in advance.