<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NodeJS version 6+ ?]]></title><description><![CDATA[<p dir="auto">Has another ported over NodeJS version 6.0 or higher yet for the MIPS / Onion environment?</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/topic/2831/nodejs-version-6</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 15:12:50 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2831.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Apr 2018 01:26:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NodeJS version 6+ ? on Mon, 09 Apr 2018 01:26:33 GMT]]></title><description><![CDATA[<p dir="auto">Has another ported over NodeJS version 6.0 or higher yet for the MIPS / Onion environment?</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/post/16516</link><guid isPermaLink="true">http://community.onion.io/post/16516</guid><dc:creator><![CDATA[brolly759]]></dc:creator><pubDate>Mon, 09 Apr 2018 01:26:33 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Tue, 10 Apr 2018 09:38:34 GMT]]></title><description><![CDATA[<p dir="auto">I am using this makefile for node v8.9.4 without any additional patches.</p>
<pre><code>include $(TOPDIR)/rules.mk

PKG_NAME:=nodejs
PKG_VERSION:=v8.9.4
PKG_RELEASE:=1

PKG_SOURCE:=node-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://nodejs.org/dist/${PKG_VERSION}/

PKG_BUILD_DIR:=$(BUILD_DIR)/node-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=
PKG_USE_MIPS16:=0

include $(INCLUDE_DIR)/package.mk

define Package/nodejs
  DEPENDS:=+libpthread +librt +libstdcpp +libopenssl +zlib
  SUBMENU:=Node.js
  SECTION:=lang
  CATEGORY:=Languages
  TITLE:=Node.js v8.9.4
  URL:=https://nodejs.org/
endef

define Package/nodejs/description
Event-driven I/O server-side JavaScript environment based on V8
endef

define Package/npm
  DEPENDS:=+nodejs
  SUBMENU:=Node.js
  SECTION:=lang
  CATEGORY:=Languages
  TITLE:=Node.js Package Manager
  URL:=https://npmjs.org/
endef

DEST_CPU=$(ARCH)



CONFIGURE_ARGS = --dest-cpu=$(DEST_CPU) --dest-os=linux \
  --shared-openssl --shared-openssl-includes="$(STAGING_DIR)/usr/include" --shared-openssl-libpath="$(STAGING_DIR)/usr/lib" \
  --shared-zlib --shared-zlib-includes="$(STAGING_DIR)/usr/include" --shared-zlib-libpath="$(STAGING_DIR)/usr/lib" \
  --with-intl=none \
  --v8-options="--max_old_space_size=30 --initial_old_space_size=4" --without-snapshot


CONFIGURE_ARGS += \
--with-mips-arch-variant=r2 --with-mips-fpu-mode=fp32 --with-mips-float-abi=soft


define Package/nodejs/install
	mkdir -p $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/out/Release/node $(1)/usr/bin/node
endef

define Package/npm/install
	mkdir -p $(1)/usr/lib/node_modules
	$(CP) $(PKG_BUILD_DIR)/deps/npm $(1)/usr/lib/node_modules
	mkdir -p $(1)/usr/bin
	ln -sf /usr/lib/node_modules/npm/bin/npm-cli.js $(1)/usr/bin/npm
endef

$(eval $(call BuildPackage,nodejs))
$(eval $(call BuildPackage,npm))
</code></pre>
<p dir="auto">However, node v8 uses builtin inspector for debugging purposes. That inspector depends on <code>icu</code> module and the <code>icu</code> is quite big - full is 22,5 MB, small ~8MB (as far as I can remember). I wasn't able to compile node with <code>small-icu</code> and <code>full-icu</code> is too big for the omega. I end up using node without debugging features temporarily.</p>
<p dir="auto">Reference to NodeJS <code>configure</code> script:<br />
<a href="https://github.com/nodejs/node/blob/master/configure#L1406" rel="nofollow">https://github.com/nodejs/node/blob/master/configure#L1406</a></p>
<pre><code>  disable_inspector = (options.without_inspector or
                       options.with_intl in (None, 'none') or
                       options.without_ssl)
  o['variables']['v8_enable_inspector'] = 0 if disable_inspector else 1
</code></pre>
]]></description><link>http://community.onion.io/post/16526</link><guid isPermaLink="true">http://community.onion.io/post/16526</guid><dc:creator><![CDATA[Arek Z]]></dc:creator><pubDate>Tue, 10 Apr 2018 09:38:34 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Tue, 17 Apr 2018 14:06:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5296">@Arek-Z</a> Hello, can you please provide a bit more info on how this Makefile works? I am trying to use it with Node.js 8.11.1. I downloaded the source code from <a href="https://nodejs.org/dist/v8.11.1/node-v8.11.1.tar.gz" rel="nofollow">https://nodejs.org/dist/v8.11.1/node-v8.11.1.tar.gz</a> and extracted it on my Omega2+. I then installed python and gcc. I put your Makefile (with the <code>PKG_VERSION</code> changed to <code>v8.11.1</code>) in the root directory, ran <code>./configure</code>, and then <code>make</code>, but I got an error saying <code>package.mk: No such file or directory</code>. Would you be able to help me get this working?</p>
]]></description><link>http://community.onion.io/post/16578</link><guid isPermaLink="true">http://community.onion.io/post/16578</guid><dc:creator><![CDATA[Brandon Rothweiler]]></dc:creator><pubDate>Tue, 17 Apr 2018 14:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Wed, 18 Apr 2018 15:17:36 GMT]]></title><description><![CDATA[<p dir="auto">Forget totally about compiling it on the omega. You have to cross compile it using this repo: <a href="https://github.com/OnionIoT/source" rel="nofollow">https://github.com/OnionIoT/source</a>.</p>
]]></description><link>http://community.onion.io/post/16592</link><guid isPermaLink="true">http://community.onion.io/post/16592</guid><dc:creator><![CDATA[Arek Z]]></dc:creator><pubDate>Wed, 18 Apr 2018 15:17:36 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Fri, 28 Dec 2018 18:27:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5296">@Arek-Z</a>  , i try to compile nodejs 8.9.4 using cross compile and editing the Makefile from /source/packages/feeds/onion/nodejs,</p>
<p dir="auto">when i try the command from /source: make -j1 V=s /package/nodejs i have an error:</p>
<p dir="auto">{standard input}: Assembler messages: {standard input}:125: Error: opcode not supported on this processor: mips32r2 (mips32r2) `ldc1 $f0,24($fp)'</p>
<p dir="auto">my file ".config" in /source is the some from OnionIoT git source.</p>
<p dir="auto">What i'm doing wrong?</p>
]]></description><link>http://community.onion.io/post/18561</link><guid isPermaLink="true">http://community.onion.io/post/18561</guid><dc:creator><![CDATA[Jorge Garcia]]></dc:creator><pubDate>Fri, 28 Dec 2018 18:27:27 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Sun, 06 Jan 2019 10:54:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5296">@Arek-Z</a> can you share you bin of node v 8.9.4 ? Or help me and <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6111">@Jorge-Garcia</a>  how to cross compile the node v8.x with docker from this repo:  <a href="https://github.com/OnionIoT/source" rel="nofollow">https://github.com/OnionIoT/source</a><br />
thank you very much.</p>
]]></description><link>http://community.onion.io/post/18626</link><guid isPermaLink="true">http://community.onion.io/post/18626</guid><dc:creator><![CDATA[MFsoft]]></dc:creator><pubDate>Sun, 06 Jan 2019 10:54:11 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Tue, 15 Jan 2019 17:13:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6111">@Jorge-Garcia</a> Hi i have same error when i create config with: ./configure --without-snapshot  <strong>--with-mips-float-abi=soft</strong><br />
if i create config without the argument <strong>--with-mips-float-abi=soft</strong> build node successful but not work correct for float operation<br />
(I know the config create hardware float for cpu but cpu only have software float... and this is the problem for float operation)</p>
<p dir="auto">example.js:<br />
var a = 0.1;<br />
var b = 0.4;<br />
var c = a + b;<br />
console.log(c);<br />
and run: ./node example.js</p>
<p dir="auto">I have error:<br />
Fatal error in , line 0<br />
unreachable code<br />
node v4.3.1 on omega run this example.js correct.</p>
<p dir="auto">any idea how to fix the problem ? thx sorry for my English.</p>
]]></description><link>http://community.onion.io/post/18686</link><guid isPermaLink="true">http://community.onion.io/post/18686</guid><dc:creator><![CDATA[MFsoft]]></dc:creator><pubDate>Tue, 15 Jan 2019 17:13:21 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Tue, 15 Jan 2019 21:17:03 GMT]]></title><description><![CDATA[<p dir="auto">I had someone make me 2 versions of node. v8 and v9. I am using v8 successfully for a while now. I also had upgraded the npm.</p>
<p dir="auto"><a href="https://www.dropbox.com/s/skm0d51ou4yqnqt/node_v8.11.3-2_mipsel_24kc.ipk?dl=0" rel="nofollow">https://www.dropbox.com/s/skm0d51ou4yqnqt/node_v8.11.3-2_mipsel_24kc.ipk?dl=0</a></p>
<p dir="auto"><a href="https://www.dropbox.com/s/nuyvqo3rtkxhab2/node-npm_v8.11.3-2_mipsel_24kc.ipk?dl=0" rel="nofollow">https://www.dropbox.com/s/nuyvqo3rtkxhab2/node-npm_v8.11.3-2_mipsel_24kc.ipk?dl=0</a></p>
<p dir="auto">Let me know how you like it, install it using opkg.</p>
]]></description><link>http://community.onion.io/post/18688</link><guid isPermaLink="true">http://community.onion.io/post/18688</guid><dc:creator><![CDATA[brolly759]]></dc:creator><pubDate>Tue, 15 Jan 2019 21:17:03 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Wed, 16 Jan 2019 13:09:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4643"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4643">@brolly759</a></a> I will definitely try, thank you for sharing.<br />
Edit: <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4643"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4643">@brolly759</a></a> your node works fine. I have question you node v8.11.3 use 13.7MB disk space, my compiled node v8.10.0 is compile with this configure args: --with-intl=none --without-snapshot --with-mips-float-abi=soft and use 25.4MB of disk space. You can share you configure for build node, my node is two times bigger than your's ...?<br />
<a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6111">@Jorge-Garcia</a> I have also solved the problem of the error message and now I am able to compile the node v8 which works correctly, I still have to do some tests and write here a detailed procedure for compiling the node</p>
]]></description><link>http://community.onion.io/post/18690</link><guid isPermaLink="true">http://community.onion.io/post/18690</guid><dc:creator><![CDATA[MFsoft]]></dc:creator><pubDate>Wed, 16 Jan 2019 13:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Thu, 17 Jan 2019 18:17:52 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much for the contribution <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4643">@brolly759</a> and <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6194"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6194">@MFsoft</a></a> , I'll try it and I'll tell you how it was, I needed this version to install the latest version of node-red and some google-home repositories.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6194"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6194">@MFsoft</a></a> , I look forward to the detailed procedure to compile my own version</p>
]]></description><link>http://community.onion.io/post/18702</link><guid isPermaLink="true">http://community.onion.io/post/18702</guid><dc:creator><![CDATA[Jorge Garcia]]></dc:creator><pubDate>Thu, 17 Jan 2019 18:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Mon, 04 Feb 2019 15:11:24 GMT]]></title><description><![CDATA[<p dir="auto">Has anyone come across this error after installing this version of npm?</p>
<p dir="auto"><strong>Error: Cannot find module 'internal/util/types'</strong></p>
<p dir="auto">I cannot install any packages via npm because of this.</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://community.onion.io/post/18795</link><guid isPermaLink="true">http://community.onion.io/post/18795</guid><dc:creator><![CDATA[Thomas McCarthy]]></dc:creator><pubDate>Mon, 04 Feb 2019 15:11:24 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Thu, 21 Feb 2019 17:06:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4643">@brolly759</a> +1 Thanks for that! Works on my new Omega2Pro where the onion-provided nodejs package would not even support Classes. I used wget on your two files (minus the ?dl=0) to a flash drive, then ran opkg from there. Installed space appears to be about 29MB. Oh, I also had to use <em>opkg remove</em> on both npm and nodejs first.</p>
]]></description><link>http://community.onion.io/post/18957</link><guid isPermaLink="true">http://community.onion.io/post/18957</guid><dc:creator><![CDATA[Dan Gilpin]]></dc:creator><pubDate>Thu, 21 Feb 2019 17:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Tue, 26 Feb 2019 16:32:48 GMT]]></title><description><![CDATA[<p dir="auto">If you're on the Omega2 Pro (running OpenWRT 18.06 based firmware), then you can run:</p>
<pre><code>opkg update
opkg install node
</code></pre>
<p dir="auto">to get Node <strong>v8.10.0</strong></p>
<p dir="auto">To download npm, run</p>
<pre><code>opkg update
opkg install node-npm
</code></pre>
<p dir="auto">OpenWRT 18.06 based firmware is coming to the Omega2 &amp; Omega2+ very soon!</p>
<hr />
<p dir="auto"><strong>EDIT:</strong> OpenWRT 18.06 based firmware for the Omega2 &amp; Omega2+ has been released!</p>
<ul>
<li>See the <a href="https://onion.io/2bt-feb26-2019/" rel="nofollow">OpenWRT 18 blog post</a> for more details on the new release</li>
<li>See our <em>updated</em> <a href="http://docs.onion.io/omega2-docs/installing-and-using-nodejs.html" rel="nofollow">Installing and Using NodeJS documentation article</a></li>
</ul>
]]></description><link>http://community.onion.io/post/18959</link><guid isPermaLink="true">http://community.onion.io/post/18959</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Tue, 26 Feb 2019 16:32:48 GMT</pubDate></item><item><title><![CDATA[Reply to NodeJS version 6+ ? on Tue, 12 Mar 2019 23:27:27 GMT]]></title><description><![CDATA[<p dir="auto">Is there a solution for OpenWRT 18.06, and onoff-node?</p>
<p dir="auto">Version:   Ω-ware: 0.3.2 b218</p>
<p dir="auto">After upgrading this no longer works.</p>
<pre><code>opkg install onoff-node
Unknown package 'onoff-node'.
Collected errors:
 * opkg_install_cmd: Cannot install package onoff-node.
</code></pre>
<p dir="auto">I figured it out. onoff-node is gone now that npm onoff is available. Here are steps I went through to get it working.  <a href="http://community.onion.io/topic/3521/openwrt-18-06-nodejs-installing-onoff-node-module-solved">OpenWRT 18.06 &amp; Nodejs installing onoff node module [ solved ]</a></p>
]]></description><link>http://community.onion.io/post/19155</link><guid isPermaLink="true">http://community.onion.io/post/19155</guid><dc:creator><![CDATA[Jeff Seese]]></dc:creator><pubDate>Tue, 12 Mar 2019 23:27:27 GMT</pubDate></item></channel></rss>