With Kotlin 1.8.0 is there an option to disable the yarn lock file check by passing a parameter?
h
With Kotlin 1.8.0 is there an option to disable the yarn lock file check by passing a parameter?
2
t
I have invalid
Copy code
yarn.lock was changed. Run the kotlinUpgradeYarnLock task to actualize yarn.lock file
on CI. Do you have the same problem?
h
Yes and no. You can/should easily fix this error my updating the yarn lock file locally (or before) running the build. Or disable the check https://kotlinlang.org/docs/whatsnew18.html#new-settings-for-reporting-that-yarn-lock-has-been-updated My problem was
configureondemand
in combination building only some modules: https://youtrack.jetbrains.com/issue/KT-55701/KGP-JS-kotlinUpgradeYarnLock-and-kotlinStoreYarnLock-dont-support-configureondemand-if-building-one-module-only
t
Looks like I have similar problem 😞
3 options? 🙂
h
yarnLockMismatchReport is the main option, ignore, warn or fail
t
Or
none
1102 Views