Ubuntu Kylin 14.04 installs node. js and Famous

Source: Internet
Author: User
Tags install node

Install node. js using Software Center By default, then refer to Https://famo.us/install for installation

1.sudo apt-get Install git

2. npm install -g yo grunt-cli bower generator-famous after the implementation of the results reported following error using NPM WARN This failure might is due to the use of the legacy binary "node"

Search for the following ways to install the latest node. js

--------------------------------------------------------------------------------------------------------------- -

1. Determine/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

2. Install node. js by doing the following:

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

3. Install NPM by doing the following:

sudo apt-get install npm

----------------------------------------------------------------------------------------------------------

3.mkdir newProject && cd newProject

4.yo famous

5.grunt serve

Reference Links:

http://slopjong.de/2012/10/31/how-to-install-the-latest-nodejs-in-ubuntu/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.