WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: node.js update please  (Read 8813 times)

Offline roborob

  • Jr. Member
  • **
  • Posts: 58
node.js update please
« on: January 06, 2012, 11: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.)? 
 

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: node.js update please
« Reply #1 on: April 01, 2012, 06:48:44 PM »
node.js has been updated to 0.6.13.
npm is now also in the repository.

cheerio,
solorin
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
Re: node.js update please
« Reply #2 on: April 15, 2012, 07: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
 i can still find  "symlink to npm that causing problems"
Quote
$ readlink ./npm
../lib/node_modules/npm/bin/npm-cli.js

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: node.js update please
« Reply #3 on: April 15, 2012, 08: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
« Last Edit: April 15, 2012, 12:32:06 PM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: node.js update please
« Reply #4 on: April 16, 2012, 01:47:20 AM »
Repository maintainers, pls post the nodejs extension from the most recent submission. This will correct dubcore's problem.

Thank you.

cheerio,
solorin
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: node.js update please
« Reply #5 on: April 24, 2012, 05: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
« Last Edit: April 24, 2012, 05:58:43 AM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Re: node.js update please
« Reply #6 on: July 30, 2012, 01:07:07 PM »
could we have an update to the 0.8x line, please?

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: node.js update please
« Reply #7 on: July 31, 2012, 08:17:07 AM »
busy.
anybody else is welcome to step up and maintain it.

cheerio,
solorin
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: node.js update please
« Reply #8 on: January 17, 2013, 08: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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: node.js update please
« Reply #9 on: January 17, 2013, 08: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.

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: node.js update please
« Reply #10 on: January 19, 2013, 03:16:14 AM »
Ok Rich thanks I will give it a try.

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: node.js update please
« Reply #11 on: January 28, 2013, 05:53:06 PM »
An updated nodejs extension with the latest stable release v0.8.18 is now available in tinycore!

/Simon

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: node.js update please
« Reply #12 on: January 28, 2013, 08: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.

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: node.js update please
« Reply #13 on: January 29, 2013, 03: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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: node.js update please
« Reply #14 on: January 29, 2013, 10: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.