自問自答
經過與QNAP 人員的線上幫助(中文及時線上幫助還沒有人,一定要去英文的@@")
QNAP 官方回答是....第三方軟體不提供任何技術支援...QNAP真有你的
後來自力救濟找到了一篇日期是 2014/8/14 的文章還算熱騰騰的
http://tech.panshin.me/technology/qnap-node-js-installation.html
裡面大約說的是....QNAP 的套件不完全,自行下載一份來做安裝,也順邊升級一下node.js 版本
所以照著做....打完收工
大約的做法如下
1. Install the Node.js by QNAP App Center
2. Open SSH to you QNAP and login by admin user
For Mac, open terminal and type: ssh {QNAP IP} -l admin
For Windows you can use PuTTY tool from the site: Download page
3. Run the commands:
1. cd /share/MD0_DATA/.qpkg/nodejs
2. wget http://nodejs.org/dist/v0.10.32/node-v0.10.32-linux-x86.tar.gz
3. tar zxf node-v0.10.32-linux-x86.tar.gz
4. mv node node-v0.8.22
5. ln -s node-v0.10.32-linux-x86 node
npm version
Script explanation:
Line:2 – download the latest version of Node.js, you can change version “v0.10.32″ in the line to any version of Node.js from their site: Node.js
Line:3 – uncompress the downloaded file, put attention on version in case you changed it.
Line:4 – move old files to tmp directory.
Line:5 – create link with name “node” to the new version of Node.js, you should put attention on version in name, in case you changed it.
Line:6 – the command will display current Node.js version. In my case the output was: