Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
No se puede extraer una dependencia de Github

Quiero usar un paquete que no está publicado en la tienda npm, he leído la documentación que dice que debería ser así:

 <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>[#<commit-ish> | #semver:<semver>]

Entonces, agregué la línea:

 "@solana/spl-stake-pool": "git+https://github.com:solana-labs/solana-program-library/tree/master/stake-pool/js#^0.1.0",

que tiene el formato correcto: protocol:://<hostname>/<path> .

Sin embargo, me sale un error:

 npm ERR! code ENOENT npm ERR! syscall open npm ERR! path ~/.npm/_cacache/tmp/git-clonefNeI7r/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '~/.npm/_cacache/tmp/git-clonefNeI7r/package.json' npm ERR! enoent This is related to npm not being able to find a file.

La url tiene un package.json , y si elimino esta dependencia, no obtengo ningún error. ¿Cual es el problema?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!