SORU
7 Temmuz 2013, Pazar


Nasıl GitHub dan NodeJS paketi doğrudan yüklemek için?

Yüklemeye çalıştığınız paket ENOENT hata github sonuçları modülleri.json.

Rahatlıkla ifade kullanarak yeniden

npm install https://github.com/visionmedia/express

hata atmak.

npm install express

çalışır.

Neden github dan yükleyebilir mi?

Burada konsol çıktı

npm http GET https://github.com/visionmedia/express.git
npm http 200 https://github.com/visionmedia/express.git
npm ERR! not a package /home/guym/tmp/npm-32312/1373176518024-0.6586997057311237/tmp.tgz
npm ERR! Error: ENOENT, open '/home/guym/tmp/npm-32312/1373176518024-0.6586997057311237/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.8.0-23-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "https://github.com/visionmedia/express.git"
npm ERR! cwd /home/guym/dev_env/projects_GIT/proj/somename
npm ERR! node -v v0.10.10
npm ERR! npm -v 1.2.25
npm ERR! path /home/guym/tmp/npm-32312/1373176518024-0.6586997057311237/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/guym/dev_env/projects_GIT/proj/somename/npm-debug.log
npm ERR! not ok code 0

CEVAP
20 ŞUBAT 2014, PERŞEMBE


Ayrıca npm install visionmedia/express yapabilirsiniz

Ayrıca doğrudan bir özü, bitbucket, gitlab, ve diğer özel biçimlerinden yükleme desteği var. Onlar içinnpm install documentation Bu bak.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • ☆ SUB4SUB CENTER! ☆ spam here

    ☆ SUB4SUB

    22 ŞUBAT 2010
  • kremosakhaz

    kremosakhaz

    25 AĞUSTOS 2006
  • SaraBeautyCorner - Nails and Nail Art Designs, DIY, Fashion & Makeup Tutorial

    SaraBeautyCo

    7 EKİM 2012