You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whitespaces in compile constants values cause SWF compilation error.
So if you have in asconfig.json something like:
"define": [
/**
* String values must be formatted with nested quotes, like "'hello'",
because the compiler will attempt to evaluate an expression when it encounters quotes.
*/
{"name": "CONFIG::PRODUCT_NAME", "value": "'App Name'"}
],
It cause Error exists after running preLaunchTask 'undefined'.
It works fine if you dont' have spaces. For example AppName.
Whitespaces in compile constants works fine with other IDEs.
The text was updated successfully, but these errors were encountered:
I'm not able to reproduce this issue. My compile task is completing correctly.
Your error message is interesting, and points to a potentially larger problem. I don't know why the preLaunchTask value in your tasks.json file would be displayed as undefined instead of the name of the task, even if the compiler failed while running the task. That's kind of strange.
@joshtynjala
I have checked with macOS - indeed it works fine.
But with Windows (tested with multiple different devices) it faults as described above.
Without whitespaces all works fine. May be some internal error with Windows command line usage where space split string to different arguments...
Whitespaces in compile constants values cause SWF compilation error.
So if you have in asconfig.json something like:
It cause
Error exists after running preLaunchTask 'undefined'.
It works fine if you dont' have spaces. For example
AppName
.Whitespaces in compile constants works fine with other IDEs.
The text was updated successfully, but these errors were encountered: