「npm install」で「npm ERR! code EMISSINGARG」になった

「npm install」で「npm ERR! code EMISSINGARG」になったのでメモ。 /usr/bin/npm install を実行するとエラーになりました。 % /usr/bin/npm instal …

Continue reading ‘「npm install」で「npm ERR! code EMISSINGARG」になった’ »

pod installを実行すると「Your project does not explicitly specify the CocoaPods master specs repo.」

pod installを実行すると以下のメッセージが表示されました。 [!] Your project does not explicitly specify the CocoaPods master specs rep …

Continue reading ‘pod installを実行すると「Your project does not explicitly specify the CocoaPods master specs repo.」’ »

coreMLの「Could not create inference context」エラーの対策

Appleシリコン(M1)を搭載したMacのiOSシミュレータでcoreMLを実行すると「Could not create inference context」エラーになった。 do { try handler.perf …

Continue reading ‘coreMLの「Could not create inference context」エラーの対策’ »

LaravelのUnitTestでArtisan::queue()をテストする方法

問題 LaravelでArtisan::queue()が呼ばることをテストしたい。 環境 Laravel 6 対策 Queue::fake()メソッドを使用し、ジョブをテストできるようにする。 use Illuminat …

Continue reading ‘LaravelのUnitTestでArtisan::queue()をテストする方法’ »