
投稿日:2024/02/28 最終更新日:2024/02/28
「No files matching the pattern were found」エラーの解決法
Windows上でpackage.jsonを編集している際に発生したエラーです。
解決方法
Windowsの場合、スクリプト中の記述は「’」ではなく「\”」と書く必要があります。
コード例は以下になります。
・windowsの場合
"deploy": "~~ && git commit -m \"update\" && ~~"
・Macの場合
"deploy": "~~ && git commit -m 'update' && ~~"