Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: mb0 on February 07, 2012, 08:53:22 AM

Title: Node.js and npm.. tar not found
Post by: mb0 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.
Title: Re: Node.js and npm.. tar not found
Post by: Juanito on February 07, 2012, 09:39:47 AM
the base system uses busybox tar - maybe loading the gnu tar extension might help?
Title: Re: Node.js and npm.. tar not found
Post by: mb0 on February 07, 2012, 09:50:46 AM
That appears to have worked, thank you!
Title: Re: Node.js and npm.. tar not found
Post by: mb0 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.