Linux commands

Tuesday, April 3, 2012

axconfig: port 1 not active axconfig: port 2 not active

Error while running the node command, I solved the same problem please follow the below lines

This problem no where related to nodejs.

step 1. 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
step 2. If you already installed like step1 then do uninstall node by sudo apt-get remove node

step 3. Only Download nodejs from http://nodejs.org/ or using git from https://github.com/joyent/node.git but make sure you install the stable branch(0.4.x).
For installing please follow the README.md

step 4. After installing then set the environment variables
export PATH=$PTATH:/home/user/pathtonode/

If you have still problem of running then comment on this page

9 comments: