<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel</title>
    <description>The latest articles on DEV Community by Daniel (@kondaguey).</description>
    <link>https://dev.to/kondaguey</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F876706%2Fa4fc7e06-d6b3-4704-a564-224dc6cd0af6.jpeg</url>
      <title>DEV Community: Daniel</title>
      <link>https://dev.to/kondaguey</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kondaguey"/>
    <language>en</language>
    <item>
      <title>100 Days of Learning From My Mistakes – Day 2</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Wed, 13 Jul 2022 15:37:03 +0000</pubDate>
      <link>https://dev.to/kondaguey/100-days-of-learning-from-my-mistakes-day-2-1ko5</link>
      <guid>https://dev.to/kondaguey/100-days-of-learning-from-my-mistakes-day-2-1ko5</guid>
      <description>&lt;p&gt;Why aren't my styles updating?! I've tried everything. Debugged my entire Sass project file by file. All imports correct. Everything peachy. What. The. Hell! &lt;/p&gt;

&lt;p&gt;Did I forget CSS? Am I a terrible developer? Is this even for me? Why is the world against me?!&lt;/p&gt;

&lt;p&gt;Oh. I forgot to run my Sass compiler...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run compile:sass
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;...deletes semi colon in any Sass file, hits cmd+s...the magnificent green console letters show up...main.scss compiled to app.css....&lt;/p&gt;

&lt;p&gt;Dummy...&lt;/p&gt;

&lt;p&gt;Note to self: Always make sure my Sass compiler is actually running before freaking out :)&lt;/p&gt;

&lt;p&gt;-Dan&lt;br&gt;
dndl.me&lt;/p&gt;

</description>
      <category>sass</category>
      <category>css</category>
      <category>cli</category>
      <category>beginners</category>
    </item>
    <item>
      <title>100 Days of Learning From My Mistakes – Day 1</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Fri, 08 Jul 2022 06:19:42 +0000</pubDate>
      <link>https://dev.to/kondaguey/100-days-of-learning-from-my-mistakes-day-1-i95</link>
      <guid>https://dev.to/kondaguey/100-days-of-learning-from-my-mistakes-day-1-i95</guid>
      <description>&lt;p&gt;PSA: For a maximally enjoyable read, play my &lt;a href="https://www.youtube.com/watch?v=KMOoNlD_bNg"&gt;song of the day&lt;/a&gt; while reading.&lt;/p&gt;

&lt;p&gt;After what essentially amounted to a day's worth of wasted time trying to figure this out, Heroku support came through for the win. &lt;/p&gt;

&lt;p&gt;My personal website had been running flawlessly up until yesterday, where out of the great beyond my entire App crashed on Heroku. I was getting the dreaded H10 error. Interestingly it was happening only after adding a couple of icons with react-icons. I would push, then after a second or two of functionality it would crash. &lt;/p&gt;

&lt;p&gt;But when I checked out to the head position before my adding of the icons, and pushed again it worked!&lt;/p&gt;

&lt;p&gt;Surly this massive crash couldn't have been from adding a couple of tiny react-icons. &lt;/p&gt;

&lt;p&gt;Well... kind of. &lt;/p&gt;

&lt;p&gt;After sorting through a long list of accumulating errors, this one stuck out to the Heroku rep:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;2022-07-07T17:47:12.103981+00:00 app[web.1]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Meaning...at some process in my application, WAY too much memory was being used in the memory heap. &lt;/p&gt;

&lt;p&gt;For now, the short-term solution was changing the node settings on Heroku's end with &lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ heroku config:set NODE_OPTIONS="--max_old_space_size=2560" -a &amp;lt;app_name&amp;gt;"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and &lt;/p&gt;

&lt;p&gt;&lt;code&gt;export NODE_OPTIONS="--max-old-space-size=8192"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to increase the allowed memory of node. &lt;/p&gt;

&lt;p&gt;While that did fix the fatal error, I suspect I have a memory leak somewhere. &lt;/p&gt;

&lt;p&gt;But that's for another Day of Learning from My Mistakes. &lt;/p&gt;

&lt;p&gt;Until next time 👋 &lt;br&gt;
-Dan&lt;br&gt;
&lt;a href="http://www.dndl.me"&gt;www.dndl.me&lt;/a&gt;&lt;/p&gt;

</description>
      <category>heroku</category>
      <category>webdev</category>
      <category>node</category>
      <category>react</category>
    </item>
  </channel>
</rss>
