Phuc
11/05/2024, 7:01 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kotlinNpmInstall'.
> Process 'Resolving NPM dependencies using yarn' returns 1
Unknown Syntax Error: Unsupported option name ("--ignore-scripts").
I found this solution: https://youtrack.jetbrains.com/issue/KT-57723/Kotlin-JS-kotlinNpmInstall-fails-with-fresh-project-on-M1-Max
But the author didn’t mention how to fix it in detail, could you please support?Phuc
11/05/2024, 7:02 PMArtem Kobzar
11/06/2024, 2:16 PMIlya Goncharov [JB]
11/06/2024, 2:22 PMPhuc
11/06/2024, 2:22 PMPhuc
11/06/2024, 2:23 PMPhuc
11/06/2024, 2:23 PMIlya Goncharov [JB]
11/06/2024, 2:28 PM.yarnrc
globally?Phuc
11/06/2024, 2:29 PMPhuc
11/06/2024, 2:35 PMPhuc
11/06/2024, 2:35 PMIlya Goncharov [JB]
11/06/2024, 2:37 PM.yarnrc
locally for your project and configure it appropriately.
We install yarn 1 during your build in Kotlin Gradle pluginPhuc
11/06/2024, 11:10 PM