Yarn: `Garn ls<package>`fehlt.</package>

Erstellt am 6. Okt. 2016  ·  4Kommentare  ·  Quelle: yarnpkg/yarn

Fehlende Funktion, vergleiche mit npm ls once . Sollte yarn why once der Ersatz dafür sein? In diesem Fall scheint das angezeigte Abhängigkeitsdiagramm falsch zu sein.

[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

Hilfreichster Kommentar

Für alle, die auf der Suche nach dem Befehl ls hierher kommen, funktioniert yarn list <package> mit v1.9.4 ( ls funktioniert nicht).

Alle 4 Kommentare

Wir haben jetzt yarn ls <package> 😃

@ Torifat super !!

Für alle, die auf der Suche nach dem Befehl ls hierher kommen, funktioniert yarn list <package> mit v1.9.4 ( ls funktioniert nicht).

yarn ls <package> nicht gefunden

❯ 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.
War diese Seite hilfreich?
0 / 5 - 0 Bewertungen