Node.js older than 0.4.12 don't work correctly on AWS EC2. Why?

前端 未结 2 1767
青春惊慌失措
青春惊慌失措 2021-01-16 20:22

I can\'t install node.js v0.6.1 on AWS EC2 (Ubuntu or CentOs - never mind). After installation I type node, and processor loads to 100%.

But v0.4.12 works fine.

2条回答
  •  轮回少年
    2021-01-16 20:57

    I had successfully install 0.6.x in ubuntu 11.04, Download nodejs from http://nodejs.org/

    Do not install from sudo apt-get install node. This will install radio package. this radio package requires axports to be active, which is not linked with nodejs

    After installing then set the environment variables echo PATH=$PTATH:/home/user/pathtonode/

提交回复
热议问题