Qnap [ NodeJS ] [ 14.1.0 ] Event-driven I/O server-side JavaScript environment based on V8

QoolBox

Représentant QNAP
nodejs-logo.png


source : https://nodejs.org

LTS Version

https://www.qnapclub.eu/fr/qpkg/234

note :

node & npm & npx in $PATH
HOME directory set to /opt/NodeJS to avoid ramdisk problem

About :

As an asynchronous event driven framework, Node.js is designed to build scalable network applications.
 

PekeQNP

Nouveau membre
:cry: :cry: :cry: Je sais ce fait, c'est pourquoi j'ai demandé ici.

S'il y a quelque chose que je peux vous aider avec ça?

Je suis ouvert à toutes les suggestions sur la façon dont je peux vous aider avec un problème d'env

Pour l'instant j'ai essayé et échoué avec l'installation manuelle de https://nodejs.org/download/release/latest-v8.x/
 

PekeQNP

Nouveau membre
@QoolBox
I managed to compile 8.15.1, 9.11.2, 10.15.2 and 11.10.1 on TS-459 Pro II 4.2.6 using these commands
Code:
git clone https://github.com/nodejs/node.git
cd /node
git checkout v<NODEVERSION>
./configure; make

and when I start node i get
Code:
./node
>

What next I need to make QPKG? Can you help?
 

PekeQNP

Nouveau membre
Hi,
is there any way to extract your QPKG your 6.9.1 or that you can send me a link for non compressed package folder in order to save me some time as I actually needed it for my project and it will be included in static binary, but I wanted to share with others if possible.

Or even if you have time let me know what files you need so that you can create QPKG?
 

QoolBox

Représentant QNAP
Hi just install qdk tool on your NAS

https://github.com/qnap-dev/QDK

and on SSH qbuild --extract <name.qpkg>
 

PekeQNP

Nouveau membre
Hi,
I hope I managed to make it. :-D

It is a bit overhead with junk (leftovers from compiling) but it should be enough for testing.

Node.JS 8.11.3 x86 compiled on TS-459 Pro II 4.2.6 can be downloaded from
http://www.happymonkeying.com/xxxtest/QNAPNode/

NOTE: I need that exactly that version for my project, but if this works I'll compile latest 8/10/11 Versions and create QPKG Files. It takes around 6-7 hours to compile working build.
 

PekeQNP

Nouveau membre
Hi,
If anyone interested Project that I worked on and why I needed Node.JS v8.11.3 working on QNAP TS-459 Pro II is https://github.com/mediamonkeyserver/mms which now have successful and confirmed QPKGs for x86_32 and x86_64
 

QoolBox

Représentant QNAP
if you devellopped a working qpkg, you can push it on qnapclub.eu to share it with community ;)
 

PekeQNP

Nouveau membre
I will, but need few more test confirmations as I installed all dependencies including GCC and more than 30 Entware-NG packets to be able to compile Node.js so test on Vanilla x86 QNAPs is needed to confirm and 280 MB QPKG is not solution unless it is fully static compile.
 

lexdev42

Apprenti
Bonjour est ce qu'il serait possible d'avoir une mise a jour de NodeJS(64bit) ?
cette version 6.9.1 commence a dater.
Merci
 

lexdev42

Apprenti
Est ce que "npm" est inclue avec la version 14.1 quand je tape "npm" en ligne de commande j'ai "npm: command not found" ?
 
Haut Bas