Kotlin compilation fails: Could not connect to Kotlin compile daemon

2024年10月2日

https://youtrack.jetbrains.com/issue/KT-31602/Could-not-connect-to-Kotlin-compile-daemon

Edit
/gradle.properties
to increase ‘-Xmx’ of ‘org.gradle.jvmargs’

#org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m

yarn.lock is created in user’s home directory, and prevent ‘yarn install’ any folder under user’s home

2024年10月2日

https://github.com/yarnpkg/berry/issues/4362

It seems like a bug of yarn. After update yarn by ‘npm install –global yarn’, and remove yarn related files in home directory, my issue was fixed

Firestoreのデータをエミュレータにインポートするには

2024年9月15日

Medium.com で表示

firebase-admin でエミュレータに接続するには

2024年9月15日

https://github.com/firebase/firebase-admin-node/issues/776

CMake Error: Problem with archive_write_finish_entry(): Can’t restore time

2024年9月13日
https://stackoverflow.com/questions/61488479/cmake-error-problem-with-archive-write-finish-entry-cant-restore-time

vcpkg でパッケージをインストール中に起きたエラー。私のケースでは、最後の FAT ー> NTFS で解決。PCを更新した際に vcpkg フォルダごとFATのディスクにバックアップしたのが原因。

macOSでポートが使われているか調べる

2024年9月1日


sudo lsof -i :<port>

IISをHTTPSで開くとERR_SSL_KEY_USAGE_INCOMPATIBLEのエラー

2024年8月27日
IISで作成した証明書ではダメらしいです。
https://learn.microsoft.com/en-us/answers/questions/1517411/how-to-fix-the-err-ssl-key-usage-incompatible-micr
PowerShellを開いて以下のコマンドで証明書を再作成し、入れ替えてIISを再起動。
New-SelfSignedCertificate -FriendlyName ANY_CERT_NAME -DnsName YOUR_SERVER_PC_NAME -KeyUsage DigitalSignature

ローカルのHTMLファイルからのリクエストはサーバー側の設定によらずすべてCORSエラー。

2024年4月15日
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp

error C2011: ‘sockaddr’ : ‘struct’ type redefinition. see declaration of ‘sockaddr’

2024年2月21日

https://stackoverflow.com/questions/31434556/error-c2011-sockaddr-struct-type-redefinition-see-declaration-of-sockad

winsock2.h を最初にinclude することで解決できた。

ERR_SSL_KEY_USAGE_INCOMPATIBLE

2024年2月21日

https://learn.microsoft.com/en-us/answers/questions/1517411/how-to-fix-the-err-ssl-key-usage-incompatible-micr

まず、-KeyUsage DigitalSignature で証明書を再作成し
PS C:\WINDOWS\system32> New-SelfSignedCertificate -FriendlyName <証明書の名前> -DnsName <ホスト名> -KeyUsage DigitalSignature

作成した証明書でIISのSSL証明書を再設定
IIS > WebSite > Edit Bindings… > https を選択して編集、下部の”SSL Certificate”で、新たに作成した証明書を選択