<?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[[ERROR] Nativescript]]></title><description><![CDATA[<p>Hi,<br />
I'm creating a nativescript mobile app and I can't import Colyseus to my project. I installed Colyseus using npm (npm install --save colyseus.js) then, when I import Colyseus (import Client from 'colyseus.js'), the app build (tns run android) crashes.<br />
Here are the errors</p>
<p><img src="https://media.discordapp.net/attachments/526083188108296202/676798034469715968/unknown.png?width=621&amp;height=469" alt="alt text" class="img-responsive img-markdown" /></p>
<p>Any suggestions?</p>
]]></description><link>http://discuss.colyseus.io/topic/320/error-nativescript</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 15:22:28 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/320.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Feb 2020 15:08:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ERROR] Nativescript on Invalid Date]]></title><description><![CDATA[<p>Hi,<br />
I'm creating a nativescript mobile app and I can't import Colyseus to my project. I installed Colyseus using npm (npm install --save colyseus.js) then, when I import Colyseus (import Client from 'colyseus.js'), the app build (tns run android) crashes.<br />
Here are the errors</p>
<p><img src="https://media.discordapp.net/attachments/526083188108296202/676798034469715968/unknown.png?width=621&amp;height=469" alt="alt text" class="img-responsive img-markdown" /></p>
<p>Any suggestions?</p>
]]></description><link>http://discuss.colyseus.io/post/1062</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1062</guid><dc:creator><![CDATA[ClementDreptin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [ERROR] Nativescript on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/606">@clementdreptin</a><br />
I got the same error! As I understand it, the problem is that <strong>webpack</strong> settings do not know how to work with <strong><em>mjs</em></strong> files. I work with <strong>nativescript-vue</strong>. I found a solution for compiling <strong><em>mjs</em></strong> files for vue, but I don't know how to integrate it into the project:<br />
<em>// vue.config.js</em><br />
module.exports = {<br />
chainWebpack: config =&gt; config.resolve.extensions.prepend('.mjs').prepend('.wasm')<br />
}</p>
]]></description><link>http://discuss.colyseus.io/post/1101</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1101</guid><dc:creator><![CDATA[yudinmaxim]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>