@@ -364,26 +364,25 @@ Here is a 'simple' guide for solving problems:
364
364
- Docker
365
365
- ` Cannot connect to the Docker daemon ` - open ` Docker Desktop `
366
366
- Kotlin/Js or Kotlin/Wasm
367
- - ` kotlinUpgradeYarnLock ` or ` kotlinUpgradeWasmYarnLock ` (and also ` kotlinNpmInstall ` or ` kotlinWasmNpmInstall ` )
367
+ - ` kotlinUpgradePackageLock ` or ` kotlinWasmUpgradePackageLock ` (and also ` kotlinNpmInstall ` or ` kotlinWasmNpmInstall ` )
368
368
have a funny tendency to fail sometimes, and you don't know why.
369
369
I'll tell you!
370
370
We 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/ ` .
372
372
If something doesn't work, your steps are:
373
- - Delete ` . lock` file
373
+ - Delete ` package- lock.json ` file
374
374
- Delete ` <REPO_ROOT>/build/js ` / ` <REPO_ROOT>/build/wasm `
375
- - Run ` kotlinUpgradeYarnLock ` / ` kotlinUpgradeWasmYarnLock `
375
+ - Run ` kotlinUpgradePackageLock ` / ` kotlinWasmUpgradePackageLock `
376
376
- If the problem persists:
377
377
- Check that ` <REPO_ROOT>/build/<target>/.npmrc ` AND ` <REPO_ROOT>/build/<target>/.yarnrc ` are present
378
378
- 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:
380
380
- ` registry="https://packages.jetbrains.team/npm/p/krpc/build-deps/" `
381
381
- ` always-auth=true `
382
382
- ` save-exact=true `
383
383
- ` //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
387
386
command to debug. Replace versions of tools if needed.
388
387
389
388
Something 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.
399
398
- ` checkLegacyAbi ` / ` updateLegacyAbi ` - ABI checks.
400
399
See https://kotlinlang.org/docs/whatsnew22.html#binary-compatibility-validation-included-in-kotlin-gradle-plugin .
401
400
Former 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,
403
402
usually after Kotlin version update.
404
403
- ` updateDocsChangelog ` - put modified [ CONTRIBUTING.md] ( ../CONTRIBUTING.md ) into [ topics] ( pages/kotlinx-rpc/topics )
405
404
- ` detekt ` - run detekt checks.
0 commit comments