0

I'm making some raspberry/nodeJS powered project, and i wanted a way to code on the go, so i though convergence was the way to go, and i bought a m10.

I managed to get git working following the instructions here How should I install Git on Ubuntu Touch?

I found a text editor i'll try named seabass.

The last thing i need to be happy is to make nodeJS work, preferably the last version. Since i've read that doing apt-get is a bad idea, i tried to use the same process as for git, but when i launch it, i get a missing library error. So i tried to find it on the same place as the git and node binaries, put it in the lib folder, and then, another missing lib error, find it again, and get a third, and i can't find the third one (libicui18n.48.so)

Is there a better way to do this ? Probably yes, but i can't find it, and help will be very welcome :)

Arfost
  • 121

1 Answers1

2

After more testing, executing of one project and getting a node_module trough npm, I can say that using the method described here: https://nodejs.org/en/download/package-manager/ do work, without needed any further config.

curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

Alternatively, for Node.js v6:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

Optional: install build tools: To compile and install native add-ons from npm you may also need to install build tools:

sudo apt-get install -y build-essential

I have node, I have git, and vi, and I'm happy with Ubuntu Touch :)

Edit because i just found this post, and think it's revelant and important to add to this response.

Consequences of using apt-get in ubuntu touch

So it work, but there can be consequences.

Arfost
  • 121