WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Node.js and npm.. tar not found  (Read 2747 times)

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Node.js and npm.. tar not found
« on: February 07, 2012, 08:53:22 AM »
I am trying to install socket.io. I have installed node using ab, and tried to install npm with 'curl http]://npmjs.org/install.sh | sh'
This complained 'No suitable tar program found'.

Can anyone suggest how i can fix / work around this?
Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: Node.js and npm.. tar not found
« Reply #1 on: February 07, 2012, 09:39:47 AM »
the base system uses busybox tar - maybe loading the gnu tar extension might help?

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Re: Node.js and npm.. tar not found
« Reply #2 on: February 07, 2012, 09:50:46 AM »
That appears to have worked, thank you!

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Re: Node.js and npm.. tar not found
« Reply #3 on: July 30, 2012, 01:13:52 PM »
came across this issue again and got fairly stuck.. so for future reference heres the method;

install *all* of the following with ab: nodejs, bash, tar, curl, make and npm.
After installing all of these, then run `sudo curl http://npmjs.org/install.sh | sh` and then it should work.

bash, tar, make and curl extensions can be removed later if not needed.

e: also seems to need to be ran as root, 'sudo' doesn't work reliably.
« Last Edit: July 30, 2012, 05:08:00 PM by mb0 »