-
1. Re: How to update Node.js ?
Intel_Peter Aug 3, 2015 8:13 AM (in response to partialdata)Hello partialdata,
I was able to install Node.JS 0.12.5 on my Edison. You can find the steps I followed on Re: [HELP] I'm having trouble updating to node 0.12.5. The process is indeed long however I got no error messages. Why don't you give it a shot?
Peter.
-
2. Re: How to update Node.js ?
partialdata Aug 3, 2015 8:25 AM (in response to Intel_Peter)Thank you Peter. I will give this a shot!
-
-
4. Re: How to update Node.js ?
Intel_Peter Aug 5, 2015 10:11 AM (in response to partialdata)I find that very odd. Is it possible that you are running out of space (on the internal memory)? I actually downloaded it to the root file and ran all the process there. I'm not sure if it should make a difference, but you could try it and see if it does. As I said, I find this very strange since I was able to install it without an issue.
Peter.
-
5. Re: How to update Node.js ?
CodeWarriorAQ Oct 11, 2015 1:59 PM (in response to Intel_Peter)I'm doing it now. Follow Access Edison mass-storage from within Edison and then:
wget http://nodejs.org/dist/node-latest.tar.gz
tar xvfvz node-latest.tar.gz
cd node-v0.10.21 (replace a version with your own)
./configure
make
sudo make install
-
6. Re: How to update Node.js ?
partialdata Oct 12, 2015 2:08 PM (in response to CodeWarriorAQ)Thanks for the help! I tried to follow the mass-storage commands and its not allowing me to mount /update
any ideas?
root@green:~# mount /dev/loop0 /update
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
root@green:~#
-
-
8. Re: How to update Node.js ?
gBarreras Nov 9, 2015 3:43 PM (in response to partialdata)Facing the same problem.
I recently posted it here:
wget https://nodejs.org/dist/latest/node-v4.1.0.tar.gz
Did you find any solution?
Thank you!
-
9. Re: How to update Node.js ?
partialdata Nov 9, 2015 4:54 PM (in response to gBarreras)No way I wish it's highly annoying. Any tips would amazing from Intel.
-
10. Re: How to update Node.js ?
Intel_Peter Nov 13, 2015 9:07 AM (in response to partialdata)Hello partialdata,
Version 0.12.7 is available in AlexT's repo. If you haven't configured it yet, you can find the instructions on how to do it in Edison Package Repo Configuration Instructions.
I've tried to install later versions however all them have failed, so I'd suggest you to use this version.
Peter.
-
11. Re: How to update Node.js ?
partialdata Nov 13, 2015 9:12 AM (in response to Intel_Peter)Yeah but its still ultra old... Node is at stable v5.0.0 now. Thanks for the response though i do appreciate it and if you get anymore details please let me know!
-
12. Re: How to update Node.js ?
mark-iot Jan 22, 2016 8:30 AM (in response to partialdata)Any updated guides out there?
I am about to embark on this journey using node.js v5.5.0
-
13. Re: How to update Node.js ?
dqgorelick Nov 23, 2016 10:16 AM (in response to mark-iot)Very late to the game, but this solution works well for me! We are installing the linux-x86 version of node. So far I have been able to run large scale projects without running into any issues.
// remove existing version of node
$ opkg remove nodejs --force-depends
// let's go to /bin
$ cd /bin
// create node build folder and move into it
$ mkdir node && cd node
// download the version of node you'd like (just replace the version number)
// full list here Previous Releases | Node.js
// make sure to select the `linux-x86`
$ wget http://nodejs.org/dist/v5.0.0/node-v5.0.0-linux-x86.tar.gz
// unzip and delete zip
$ tar -xvf node-v5.0.0-linux-x86.tar.gz
$ rm node-v5.0.0-linux-x86.tar.gz
// move everything out of the folder
$ mv node-v5.0.0-linux-x86/* .
$ rm -r node-v5.0.0-linux-x86
// add the new version of node to the $PATH so we can run `npm` and `node`
$ PATH=$PATH:/bin/node/bin
Should be good to go – I'm open to any ideas for a better solution!