Florian Bernstein
08/20/2024, 10:25 AMbuildbuildbuild.gradlebuild* What went wrong:
A problem was found with the configuration of task ':ys-kcart:jsPackageJson' (type 'KotlinPackageJsonTask').
  - In plugin 'org.jetbrains.kotlin.gradle.scripting.internal.ScriptingKotlinGradleSubplugin' type 'org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinPackageJsonTask' property 'packageJson' is not writable because '/Users/fbernstein/repos/ysura_crm_gradle/build/js/packages/ys-kcart/package.json' ancestor '/Users/fbernstein/repos/ysura_crm_gradle/build' is not a directory.
    
    Reason: Cannot create parent directories that are existing as file.
    
    Possible solution: Configure 'packageJson' to point to the correct location.
    
    For more information, please refer to <https://docs.gradle.org/8.6/userguide/validation_problems.html#cannot_write_output> in the Gradle documentation.
* Try:
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
* Exception is:
org.gradle.internal.execution.WorkValidationException: A problem was found with the configuration of task ':ys-kcart:jsPackageJson' (type 'KotlinPackageJsonTask').
  - In plugin 'org.jetbrains.kotlin.gradle.scripting.internal.ScriptingKotlinGradleSubplugin' type 'org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinPackageJsonTask' property 'packageJson' is not writable because '/Users/fbernstein/repos/ysura_crm_gradle/build/js/packages/ys-kcart/package.json' ancestor '/Users/fbernstein/repos/ysura_crm_gradle/build' is not a directory.
    
    Reason: Cannot create parent directories that are existing as file.
    
    Possible solution: Configure 'packageJson' to point to the correct location.