Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: roborob on January 06, 2012, 08:51:32 PM

Title: node.js update please
Post by: roborob on January 06, 2012, 08:51:32 PM
Hi, 

I installed node.js via the AppBrowser however it is an older version (0.4.11).  It runs, however there is functionality in the newer version I would like to use. 

Would someone be so kind as to update nodejs.tz with the current version (0.6.7.)? 
 
Title: Re: node.js update please
Post by: solorin on April 01, 2012, 03:48:44 PM
node.js has been updated to 0.6.13.
npm is now also in the repository.

cheerio,
solorin
Title: Re: node.js update please
Post by: mocore on April 15, 2012, 04:12:21 AM

hi
i find this quote in
http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/nodejs.tcz.info
Quote
2012/03/23 v0.6.13 removed symlink to npm that was causing problems
after downloading and mounting nodejs.tcz (http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/nodejs.tcz)
 i can still find  "symlink to npm that causing problems"
Quote
$ readlink ./npm
../lib/node_modules/npm/bin/npm-cli.js
Title: Re: node.js update please
Post by: solorin on April 15, 2012, 05:25:59 AM
If you are using node without npm,
the symlink shouldn't affect you.

If you are trying to use npm, try loading the npm extension before or after node.
the npm extension contains the proper symlink.

I did check the repository, and the files don't seem correct.
In which case the repository maintainers did not post the final version I sent them.

I didn't do a lot of testing, so npm might be a little flaky.
In which case, I don't mind if you would like to take it upon yourself to maintain it properly.

cheerio,
solorin
Title: Re: node.js update please
Post by: solorin on April 15, 2012, 10:47:20 PM
Repository maintainers, pls post the nodejs extension from the most recent submission. This will correct dubcore's problem.

Thank you.

cheerio,
solorin
Title: Re: node.js update please
Post by: solorin on April 24, 2012, 02:37:50 AM
oops. totally my bad.
i just checked the files i sent. and i did send the wrong ones.
unfortunately, i did an update after and so i replaced the functioning extension.

dubcore's pm indicates that manually removing the symlink works.
so people will just have to go with this workaround at the moment.

nodejs is at 0.6.15 now. I don't have time to update it.
don't mind if someone else gives it a go.
last time i tried to build v8 separately and have node use it.
v8 built fine but I couldn't get node to use it.
maybe someone with more finesse can get it to work.

cheerio,
solorin
Title: Re: node.js update please
Post by: mb0 on July 30, 2012, 10:07:07 AM
could we have an update to the 0.8x line, please?
Title: Re: node.js update please
Post by: solorin on July 31, 2012, 05:17:07 AM
busy.
anybody else is welcome to step up and maintain it.

cheerio,
solorin
Title: Re: node.js update please
Post by: sihorton on January 17, 2013, 05:29:41 AM
I have been running apache2 + php in a tinycore server for 2 years and am very happy with the performanace and stability. I would now like to add some additional features to my application by using a node server. I see that nodejs.tcz is at version 0.6.13 and nodejs.org has now released 0.9.4.

I see in this thread from a while ago that the package is not updated now. I would be willing to update the module if someone can help me to get started. I compile / build nodejs on windows and ubuntu but I am not as familiar with tinycore so might need some help getting required libraries and dependancies setup.

/Simon
Title: Re: node.js update please
Post by: Rich on January 17, 2013, 05:50:45 AM
Hi sihorton
Install  compiletc.tcz  so you have the required tools to compile. Start a thread under TCE Q&A if you run into trouble.
Title: Re: node.js update please
Post by: sihorton on January 19, 2013, 12:16:14 AM
Ok Rich thanks I will give it a try.
Title: Re: node.js update please
Post by: sihorton on January 28, 2013, 02:53:06 PM
An updated nodejs extension with the latest stable release v0.8.18 is now available in tinycore!

/Simon
Title: Re: node.js update please
Post by: Rich on January 28, 2013, 05:32:08 PM
Hi sihorton
One small observation, from the info file:
Quote
Current:   2012/01/26 v0.8.18
The year should read 2013.
Title: Re: node.js update please
Post by: sihorton on January 29, 2013, 12:53:13 AM

Oj! School boy error! Thanks for pointing it out, I have updated my files. I will wait a week to see if any other problems are identified and then I can resubmit again.

/Simon
Title: Re: node.js update please
Post by: Rich on January 29, 2013, 07:49:04 AM
Hi sihorton
Quote
I will wait a week to see if any other problems are identified and then I can resubmit again
If there are no other problems, just tar and bcrypt the info file and mention in the Email that only the
info file was updated.
Title: Re: node.js update please
Post by: sihorton on March 12, 2013, 07:04:33 AM
I have just posted a nodejs corepure64 extension (wait a couple of days for it to be in the repository). This will allow nodejs to use more than 4 Gb of memory. I have posted the just released v0.10, I will wait to post it to the 32-bit repository since I have noticed that not all of the major npm extensions build scripts have been updated to work with the npm version bundled with v0.10.

/Simon