Hi, when trying to run the default run configs tha...
# fleet
p
Hi, when trying to run the default run configs that fleet provides for Compose multiplatform, it fails saying (example of a user folder):`'C:\Users\Lorem' is not recognized as an internal or external command, operable program or batch file.` When looking the run config json i noticed this:
Copy code
{
            "name": "composeApp [WasmJsMain~1] (2)",
            "type": "gradle",
            "workingDir": "C:\\Users\\Lorem Ipsum\\fleet\\NavComposeMp",
            "tasks": ["wasmJsBrowserDevelopmentRun"],
            "args": ["-p", "C:\\Users\\Lorem Ipsum\\fleet\\NavComposeMp\\composeApp"],
            "initScripts": {
                "flmapper": "ext.mapPath = { path -> null }"
            }
When deleting the -p arg with the directory if i edit the run confing json, it runs like it should. What i think it happens here is that arguments passed to the gradle run config, can't have spaces in between and so it cuts before "Ipsum" so it fails to run. My Windows user has a space in between. Its quite annoying to have default run configs that do notwork because they sit there in the Run WIndow and you end up having double the configs needed and can lead to confusion. Either delete the
"-p", "C:\\Users\\Lorem Ipsum\\fleet\\NavComposeMp\\composeApp"
or let us delete the default configs in the run window.
a
cc @Florian Kistner [JB] @vladsoroka
p
pinging! have you been able to reproduce it?