Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsRun does not work for windows, upgrade the kotlin plugin #2

Open
jakubgwozdz opened this issue Jan 11, 2020 · 0 comments
Open

jsRun does not work for windows, upgrade the kotlin plugin #2

jakubgwozdz opened this issue Jan 11, 2020 · 0 comments

Comments

@jakubgwozdz
Copy link

When running gradlew jsRun "SyntaxError: missing ) after argument list" happens

C:\Users\gwozd\IdeaProjects\intro-kotlin-mutliplatform>gradlew.bat jsRun

> Configure project :
Kotlin Multiplatform Projects are an experimental feature.

> Task :jsBrowserRun FAILED
C:\Users\gwozd\IdeaProjects\intro-kotlin-mutliplatform\build\js\packages\kotlin-fractals2-handson\node_modules\.bin\webpack-dev-server: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 ':jsBrowserRun'.

switching from kotlin("multiplatform") version "1.3.40" to 1.3.61 fixes the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant