<?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[My IPFS Journey]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I have been trying to get IPFS (the JavaScript implementation of IPFS, JS-IPFS) running on my Omega2+, just to see if I could do it.</p>
<p dir="auto">I have reached a point where I could use some advice. Note: I have pretty much no idea what I am doing.</p>
<p dir="auto">I tried to just install it (the project is here: <a href="https://github.com/ipfs/js-ipfs" rel="nofollow">https://github.com/ipfs/js-ipfs</a>) with npm.</p>
<p dir="auto">First issue: out of memory:</p>
<p dir="auto">[  709.942633] Out of memory: Kill process 1648 (npm) score 504 or sacrifice child</p>
<p dir="auto">So I made a swap file so I could continue the install, and I had success, sort of:</p>
<p dir="auto">root@Omega-6CD5:/# npm install ipfs --global<br />
WARN engine ipfs@0.33.1: wanted: {"node":"&gt;=6.0.0","npm":"&gt;=3.0.0"} (current: {"node":"4.3.1","npm":"2.14.12"})</p>
<p dir="auto">OK, so apparently js-ipfs needs nodejs of 6 or higher, and an updated npm as well.</p>
<p dir="auto">This is where I really don't know what I am doing. I figured I would follow instructions on cross-compiling and make a binary of a newer nodejs myself. I am using a Mac, so I installed Docker, and pulled the omega2-source, but when I ran "make" I got this:</p>
<p dir="auto">make -r world: build failed. Please re-run make with -j1 V=s to see what's going on<br />
/root/source/include/toplevel.mk:198: recipe for target 'world' failed<br />
make: *** [world] Error 1<br />
root@2cb6caf89911:~/source#</p>
<p dir="auto">So, now I have no idea what to do next. If I understand correctly, I need to complete this step before I can attempt to cross-compile newer versions of nodejs and npm. At this point I am just following instructions I have found on the web like a trained monkey.</p>
]]></description><link>http://community.onion.io/topic/3407/my-ipfs-journey</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 06:48:29 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3407.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Jan 2019 11:32:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to My IPFS Journey on Fri, 11 Jan 2019 11:32:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I have been trying to get IPFS (the JavaScript implementation of IPFS, JS-IPFS) running on my Omega2+, just to see if I could do it.</p>
<p dir="auto">I have reached a point where I could use some advice. Note: I have pretty much no idea what I am doing.</p>
<p dir="auto">I tried to just install it (the project is here: <a href="https://github.com/ipfs/js-ipfs" rel="nofollow">https://github.com/ipfs/js-ipfs</a>) with npm.</p>
<p dir="auto">First issue: out of memory:</p>
<p dir="auto">[  709.942633] Out of memory: Kill process 1648 (npm) score 504 or sacrifice child</p>
<p dir="auto">So I made a swap file so I could continue the install, and I had success, sort of:</p>
<p dir="auto">root@Omega-6CD5:/# npm install ipfs --global<br />
WARN engine ipfs@0.33.1: wanted: {"node":"&gt;=6.0.0","npm":"&gt;=3.0.0"} (current: {"node":"4.3.1","npm":"2.14.12"})</p>
<p dir="auto">OK, so apparently js-ipfs needs nodejs of 6 or higher, and an updated npm as well.</p>
<p dir="auto">This is where I really don't know what I am doing. I figured I would follow instructions on cross-compiling and make a binary of a newer nodejs myself. I am using a Mac, so I installed Docker, and pulled the omega2-source, but when I ran "make" I got this:</p>
<p dir="auto">make -r world: build failed. Please re-run make with -j1 V=s to see what's going on<br />
/root/source/include/toplevel.mk:198: recipe for target 'world' failed<br />
make: *** [world] Error 1<br />
root@2cb6caf89911:~/source#</p>
<p dir="auto">So, now I have no idea what to do next. If I understand correctly, I need to complete this step before I can attempt to cross-compile newer versions of nodejs and npm. At this point I am just following instructions I have found on the web like a trained monkey.</p>
]]></description><link>http://community.onion.io/post/18665</link><guid isPermaLink="true">http://community.onion.io/post/18665</guid><dc:creator><![CDATA[Thomas McCarthy]]></dc:creator><pubDate>Fri, 11 Jan 2019 11:32:37 GMT</pubDate></item></channel></rss>