Skip to content

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

@jakubgwozdz

Description

@jakubgwozdz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions