安装陨石 [英] Instaling meteorite

查看:22
本文介绍了安装陨石的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手,请见谅.我正在尝试在我的新 Linux 机器上安装陨石.尝试运行安装命令(有或没有 root 访问权限)时,我收到此错误消息:

I'm new, forgive me. I'm trying to install meteorite on my new Linux machine. When attempting to run the install command (with or without root access) I recive this error message:

npm http GET https://registry.npmjs.org/meteorite
npm ERR! Error: failed to fetch from registry: meteorite<br>
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12<br>
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)<br>
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)<br>
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)<br>
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)<br>
npm ERR!     at Request.emit (events.js:88:20)<br>
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)<br>
npm ERR!     at ClientRequest.emit (events.js:67:17)<br>
npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)<br>
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)<br>
npm ERR! You may report this log at:<br>
npm ERR!     <http://bugs.debian.org/npm><br>
npm ERR! or use<br>
npm ERR!     reportbug --attach /home/jeffrey/npm-debug.log npm<br>
npm ERR! <br>
npm ERR! System Linux 3.5.0-45-generic<br>
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "meteorite"<br>
npm ERR! cwd /home/jeffrey<br>
npm ERR! node -v v0.6.12<br>
npm ERR! npm -v 1.1.4<br>
npm ERR! message failed to fetch from registry: meteorite<br>
npm ERR! <br>
npm ERR! Additional logging details can be found in:<br>
npm ERR!     /home/jeffrey/npm-debug.log<br>
npm not ok<br>

帮助!

推荐答案

摘自:无法在 Ubuntu VM 上安装陨石 也许它也适用于您的情况.你的错误让你想起了我的错误

Taken from: Unable to install meteorite on Ubuntu VM maybe it will work in your case as well. Your error reminded you of the one I got

sudo apt-get 更新 &&sudo apt-get 升级

sudo apt-get update && sudo apt-get upgrade

安装 curl sudo apt-get install curl

Install curl sudo apt-get install curl

安装节点 http://lucidservices.com/2013/09/17/install-node-on-ubuntu/

安装meteor curl https://install.meteor.com |嘘

Install meteor curl https://install.meteor.com | sh

安装陨石 sudo -H npm install -g 陨石

Install meteorite sudo -H npm install -g meteorite

这篇关于安装陨石的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆