Yarn: `ヤーンls<package>`がありません。</package>

作成日 2016年10月06日  ·  4コメント  ·  ソース: yarnpkg/yarn

機能がありません。 npm ls onceと比較してください。 yarn why once代わりに使用する必要がありますか? もしそうなら、それが示す依存関係グラフは間違っているようです。

[cpojer: ~/Projects/yarn (master)]$ yarn why once
yarn why v0.14.0
[1/3] 🤔  Why do we have the module "once"...?
[2/3] 🚚  Initialising dependency graph...
[3/3] 🔍  Finding dependency...
info Reasons this module exists
   - "node-gyp#glob" depends on it
   - "jest#jest-cli#istanbul-api" depends on it

[cpojer: ~/Projects/yarn (master)]$ npm ls once
[email protected] /Users/cpojer/Projects/yarn
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected]
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected]
cat-bug

最も参考になるコメント

lsコマンドを探してここに来る人は、 yarn list <package>v1.9.4lsは機能しません)。

全てのコメント4件

yarn ls <package>ます😃

@torifatすごい!!

lsコマンドを探してここに来る人は、 yarn list <package>v1.9.4lsは機能しません)。

yarn ls <package>が見つかりません

❯ yarn ls react     
yarn run v1.19.1
error Command "ls" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
このページは役に立ちましたか?
0 / 5 - 0 評価