Hello everyone. Do you know what drives the depend...
# javascript
j
Hello everyone. Do you know what drives the dependencies that ended up in the
kotlin-js-store/yarn.lock
? When building our project on our CI, versions are not aligned with our local builds and we face the error
Copy code
yarn.lock was changed. Run the `kotlinUpgradeYarnLock` task to actualize yarn.lock file
But I don't understand why the JS dependencies changed, as we use the same Kotlin multiplatform project dependencies.
Ok it was a cache issue, a
clean
and
kotlinUpgradeYarnLock
allowed to align the yarn.lock everywhere!
e
Sometimes it goes out of sync and even multiple
kotlinUpgradeYarnLock
executions do not help. I tend to temporarily disable lock validation until it fixes itself.
c
There’s a file in the project’s root build directory which causes this to happen. Delete that file, and I’ve found it correctly generates locks again.