"[error] No files matching the given patterns were found."
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
実験的な CLI とグループ化された (src|mailers) パターンを使用して、package.json の format コマンドの報告を再現します。src と mailers に別々の glob を渡す動作するコマンドと比較します。元のパターンで「No files matching the given patterns were found.」が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I had this in my package.json:
"format": "prettier --ignore-path .gitignore \"(src|mailers)/**/*.+(ts|js|tsx|md)\" --write",
When I use it with the experimental cli…
"format": "prettier --experimental-cli --write --ignore-path .gitignore \"(src|mailers)/**/*.+(ts|js|tsx|md)\" --write",
… I get this error:
% npm run format
[[email protected]](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html) format
prettier --experimental-cli --write --ignore-path .gitignore "(src|mailers)/**/*.+(ts|js|tsx|md)"
[error] No files matching the given patterns were found.
When I change the code to …
"format": "prettier --experimental-cli --write --ignore-path .gitignore \"src/**/*.{ts,js,tsx,md}\" \"mailers/**/*.{ts,js,tsx,md}\"",
… it works fine again.
- 主要言語
- TypeScript
- スター
- 44
- フォーク
- 10
- 平均マージ
- 18分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
prettier/prettier-cli のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
prettier/prettier-cli#114 ·
-
Dependency Dashboardオープン
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
prettier/prettier-cli#94 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
prettier/prettier-cli#88 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
prettier/prettier-cli#84 · コメント 1 件 · リアクション 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
prettier/prettier-cli#81 ·
prettier/prettier-cli の issue をすべて見る
似ている issue
-
submodule-pointer-regression
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
smith-horn/skillsmith#3061 ·
メンテナーはふだん 1 日以内に返信
-
area: ops type: test
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
accensa/x402-facilitator-stellar#559 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
cosimochellini/one-piece-zero-spoiler#551 ·
メンテナーはふだん 1 日以内に返信
-
getWatched() omits __proto__ directories when cwd is set対応中かも @maxazure が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
-
area:web enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信