Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Version discrepancy in `marked` package

Aperta
#763 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript
Ambito
build-system

Direzione di ricerca

The conflict is between the marked and marked-terminal version ranges declared in the project's package.json, and the lockfile is where the resolved versions show up. Reproduce it by running a clean npm install and checking for the ERESOLVE warning. Done means the install runs without the peer conflict, and the chosen marked version still renders terminal output correctly, so check the code that calls marked-terminal before committing to a version.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When npm-installing the CLI:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/@elastic/cli/node_modules/marked
npm warn   marked@"^18.0.0" from @elastic/[email protected]
npm warn   node_modules/@elastic/cli
npm warn     @elastic/cli@"0.5.0" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer marked@">=1 <16" from [email protected]
npm warn node_modules/@elastic/cli/node_modules/marked-terminal
npm warn   marked-terminal@"^7.3.0" from @elastic/[email protected]
npm warn   node_modules/@elastic/cli
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/marked
npm warn   peer marked@">=1 <16" from [email protected]
npm warn   node_modules/@elastic/cli/node_modules/marked-terminal
npm warn     marked-terminal@"^7.3.0" from @elastic/[email protected]
npm warn     node_modules/@elastic/cli
Lingua principale
TypeScript
Stelle
49
Fork
27
Merge medio
1g 18h
PR unite (30g)
65

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastic/cli

Tutte le issue di elastic/cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.