ubuntu kylin 14.04安装Node.js和Famous
2020-12-13 02:22
标签:code http c get com 使用 默认使用软件中心安装node.js,然后参考https://famo.us/install进行安装 1.sudo apt-get install git 2. 经过搜索采取如下方式安装最新node.js ---------------------------------------------------------------------------------------------------------------- 1.确定 2.执行如下操作安装node.js 3.执行如下操作安装npm ---------------------------------------------------------------------------------------------------------- 3. 4. 5. 参考链接: http://slopjong.de/2012/10/31/how-to-install-the-latest-nodejs-in-ubuntu/ ubuntu kylin 14.04安装Node.js和Famous,搜素材,soscw.com ubuntu kylin 14.04安装Node.js和Famous 标签:code http c get com 使用 原文地址:http://www.cnblogs.com/wihi/p/3717813.htmlnpm install -g yo grunt-cli bower generator-famous
执行后结果报如下错误
使用npm WARN This failure might be due to the use of legacy binary "node"/etc/apt/sources.list中存在如下源信息
# in /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu quantal main restricted universe
deb http://security.ubuntu.com/ubuntu quantal-security main restricted
universe
deb http://archive.ubuntu.com/ubuntu quantal-updates main restricted
universe
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update sudo apt-get install nodejs
sudo apt-get install npm
mkdir newProject && cd newProject
yo famous
grunt serve
文章标题:ubuntu kylin 14.04安装Node.js和Famous
文章链接:http://soscw.com/essay/25461.html