@@ -364,26 +364,25 @@ Here is a 'simple' guide for solving problems:
364364- Docker
365365 - ` Cannot connect to the Docker daemon ` - open ` Docker Desktop `
366366- Kotlin/Js or Kotlin/Wasm
367- - ` kotlinUpgradeYarnLock ` or ` kotlinUpgradeWasmYarnLock ` (and also ` kotlinNpmInstall ` or ` kotlinWasmNpmInstall ` )
367+ - ` kotlinUpgradePackageLock ` or ` kotlinWasmUpgradePackageLock ` (and also ` kotlinNpmInstall ` or ` kotlinWasmNpmInstall ` )
368368have a funny tendency to fail sometimes, and you don't know why.
369369I'll tell you!
370370We use proxy repos, and sometimes dependencies get downloaded from the wrong source.
371- Make sure ALL urls in ` . lock` files start with ` https://packages.jetbrains.team/npm/p/krpc/build-deps/ ` .
371+ Make sure ALL urls in ` package- lock.json ` files start with ` https://packages.jetbrains.team/npm/p/krpc/build-deps/ ` .
372372If something doesn't work, your steps are:
373- - Delete ` . lock` file
373+ - Delete ` package- lock.json ` file
374374 - Delete ` <REPO_ROOT>/build/js ` / ` <REPO_ROOT>/build/wasm `
375- - Run ` kotlinUpgradeYarnLock ` / ` kotlinUpgradeWasmYarnLock `
375+ - Run ` kotlinUpgradePackageLock ` / ` kotlinWasmUpgradePackageLock `
376376 - If the problem persists:
377377 - Check that ` <REPO_ROOT>/build/<target>/.npmrc ` AND ` <REPO_ROOT>/build/<target>/.yarnrc ` are present
378378 - Check that ` .yarnrc ` contains one line: ` registry: "https://packages.jetbrains.team/npm/p/krpc/build-deps/" `
379- - Check that ` .npmrc ` contains following lines:
379+ - Check that ` .npmrc ` contains the following lines:
380380 - ` registry="https://packages.jetbrains.team/npm/p/krpc/build-deps/" `
381381 - ` always-auth=true `
382382 - ` save-exact=true `
383383 - ` //packages.jetbrains.team/npm/p/krpc/build-deps/:_authToken=<your_auth_token> ` ,
384- where ` <your_auth_token> ` is from [ proxy-repositories.md] ( proxy-repositories.md ) guide.
385- - Check that ` <USER_HOME>/.npmrc ` / ` <USER_HOME>/.yarnrc ` doesn't interfere
386- - Use ` /Users/<USER>/.gradle/nodejs/node-v22.0.0-darwin-arm64/bin/node /Users/<USER>/.gradle/yarn/yarn-v1.22.17/bin/yarn.js --ignore-engines --verbose --ignore-scripts `
384+ where ` <your_auth_token> ` is from the [ proxy-repositories.md] ( proxy-repositories.md ) guide.
385+ - Check that ` <USER_HOME>/.npmrc ` / ` <USER_HOME>/.yarnrc ` don't interfere
387386command to debug. Replace versions of tools if needed.
388387
389388Something doesn't work, and you are sure it's not your fault? Report it appropriately! Don't be lazy.
@@ -399,7 +398,7 @@ all included builds (not subprojects) must reflect the change.
399398- ` checkLegacyAbi ` / ` updateLegacyAbi ` - ABI checks.
400399See https://kotlinlang.org/docs/whatsnew22.html#binary-compatibility-validation-included-in-kotlin-gradle-plugin .
401400Former BCV: https://github.com/Kotlin/binary-compatibility-validator
402- - ` kotlinUpgradeYarnLock ` / ` kotlinWasmUpgradeYarnLock ` - update [ kotlin-js-store] ( ../kotlin-js-store ) contents,
401+ - ` kotlinUpgradePackageLock ` / ` kotlinWasmUpgradePackageLock ` - update [ kotlin-js-store] ( ../kotlin-js-store ) contents,
403402usually after Kotlin version update.
404403- ` updateDocsChangelog ` - put modified [ CONTRIBUTING.md] ( ../CONTRIBUTING.md ) into [ topics] ( pages/kotlinx-rpc/topics )
405404- ` detekt ` - run detekt checks.
0 commit comments