<?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[Cannot read property &#x27;main&#x27; of undefined]]></title><description><![CDATA[<p><img src="/forum/assets/uploads/files/1586691530641-qq%E5%9B%BE%E7%89%8720200412193820-resized.png" alt="0_1586691528677_QQ图片20200412193820.png" class="img-responsive img-markdown" /></p>
<p>Is this a problem of the server?</p>
]]></description><link>http://screeps.com/forum/topic/2951/cannot-read-property-main-of-undefined</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 07:58:29 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/2951.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Apr 2020 11:39:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Tue, 14 Apr 2020 16:47:16 GMT]]></title><description><![CDATA[<p><img src="/forum/assets/uploads/files/1586691530641-qq%E5%9B%BE%E7%89%8720200412193820-resized.png" alt="0_1586691528677_QQ图片20200412193820.png" class="img-responsive img-markdown" /></p>
<p>Is this a problem of the server?</p>
]]></description><link>http://screeps.com/forum/post/14933</link><guid isPermaLink="true">http://screeps.com/forum/post/14933</guid><dc:creator><![CDATA[hwy]]></dc:creator><pubDate>Tue, 14 Apr 2020 16:47:16 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Invalid Date]]></title><description><![CDATA[<p>Where do you refer to main? And why do you do it?</p>
]]></description><link>http://screeps.com/forum/post/14935</link><guid isPermaLink="true">http://screeps.com/forum/post/14935</guid><dc:creator><![CDATA[PowerDuDe]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Invalid Date]]></title><description><![CDATA[<p>Also, I don't think main is defined as a variable or instance.</p>
]]></description><link>http://screeps.com/forum/post/14936</link><guid isPermaLink="true">http://screeps.com/forum/post/14936</guid><dc:creator><![CDATA[PowerDuDe]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Invalid Date]]></title><description><![CDATA[<p>First please add a title to this post.<br />
Second you need a main.js that is your entry point, if that is missing you get that error.</p>
]]></description><link>http://screeps.com/forum/post/14938</link><guid isPermaLink="true">http://screeps.com/forum/post/14938</guid><dc:creator><![CDATA[MrFaul]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3772">@hwy</a> any idea how to reproduce it?</p>
]]></description><link>http://screeps.com/forum/post/14951</link><guid isPermaLink="true">http://screeps.com/forum/post/14951</guid><dc:creator><![CDATA[o4kapuk]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/183">@o4kapuk</a> I don't know how to reproduce it. This happens randomly, when I looks at my logs, this log shows between many normal logs. When shard3 is 10s/tick, this happens more frequently.</p>
]]></description><link>http://screeps.com/forum/post/14974</link><guid isPermaLink="true">http://screeps.com/forum/post/14974</guid><dc:creator><![CDATA[hwy]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Cannot read property &#x27;main&#x27; of undefined on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/85">@mrfaul</a> OK, next time I will add a title.
I have a main.js like everyone does. This error happens not every tick. Most of the time, my code runs normally, so I think it's a problem of the server.</p>
]]></description><link>http://screeps.com/forum/post/14975</link><guid isPermaLink="true">http://screeps.com/forum/post/14975</guid><dc:creator><![CDATA[hwy]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>