Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to set up a retro in 2023 (IIS) (Nitro HTML5) - (Part 3)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MarcusDev" data-source="post: 478328" data-attributes="member: 64120"><p>Hi</p><p>Incredibly well written guide, it's been fun following this one.</p><p>But I have encountered a small problem.</p><p>When I was to compile nitro v2, I get this message.</p><p>It says built in 298ms, but I don't know if that confirms it got the job done or not. Seems like there is something that can affect the runtime anyway.</p><p></p><p>[SPOILER="CMD Nitro v2 Compile Error"][ATTACH=full]14679[/ATTACH][/SPOILER]</p><p></p><p>I was also wondering when I installed the required dependencies through npm, I found that there was an updated version, as well as 1 moderate vulnerability.</p><p>Is there some reason why I can't update or should it be fine?</p><p></p><p>[SPOILER="npm cmd"][ATTACH=full]14680[/ATTACH][/SPOILER]</p><p></p><p></p><p><strong><span style="font-size: 22px">UPDATE:</span></strong></p><p>Okey. So after some testing and trying out different things, I think I found the answer.</p><p>My main problem was that I could not compile nitro v2. What I did here to finally compile it was:</p><ol> <li data-xf-list-type="ol">I deleted the "nitro-react" folder inside the main nitro folder. [CODE]C:\inetpub\wwwroot\atomcms\public\client\nitro\nitro-react(This folder got deleted)[/CODE]</li> <li data-xf-list-type="ol">I run the clone command again, but this time without checking out the dev batch.<br /> [CODE]cd C:\inetpub\wwwroot\atomcms\public\client\nitro && git clone https://github.com/billsonnn/nitro-react.git[/CODE]</li> <li data-xf-list-type="ol">After this the compile did complete, but I got a white screen wen trying to access the client, and the console said that it missed different files. The files I missed was never gone, but the names was wrong from what the index.html inside the dist folder wanted. What I ended up doing was copying the number behind the files, and inserting it in the index.html. See picture:<br /> [SPOILER="Example index.html"][ATTACH=full]14682[/ATTACH][/SPOILER]</li> <li data-xf-list-type="ol">Next thing I did was correct the path for the index.css file inside index.html.</li> <li data-xf-list-type="ol">And last thing, I changed the websockets.whitelist because I got a weird socket error in the console. This solved the problem for me.<br /> <br /> </li> <li data-xf-list-type="ol">[CODE]websockets.whitelist = *.URL<br /> No :// At the end[/CODE]</li> </ol><p>Thanks to this verry good guide I have my hotel up and running <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p>[ATTACH=full]14683[/ATTACH]</p></blockquote><p></p>
[QUOTE="MarcusDev, post: 478328, member: 64120"] Hi Incredibly well written guide, it's been fun following this one. But I have encountered a small problem. When I was to compile nitro v2, I get this message. It says built in 298ms, but I don't know if that confirms it got the job done or not. Seems like there is something that can affect the runtime anyway. [SPOILER="CMD Nitro v2 Compile Error"][ATTACH type="full" alt="nitro error.PNG"]14679[/ATTACH][/SPOILER] I was also wondering when I installed the required dependencies through npm, I found that there was an updated version, as well as 1 moderate vulnerability. Is there some reason why I can't update or should it be fine? [SPOILER="npm cmd"][ATTACH type="full" alt="npm new version.PNG"]14680[/ATTACH][/SPOILER] [B][SIZE=6]UPDATE:[/SIZE][/B] Okey. So after some testing and trying out different things, I think I found the answer. My main problem was that I could not compile nitro v2. What I did here to finally compile it was: [LIST=1] [*]I deleted the "nitro-react" folder inside the main nitro folder. [CODE]C:\inetpub\wwwroot\atomcms\public\client\nitro\nitro-react(This folder got deleted)[/CODE] [*]I run the clone command again, but this time without checking out the dev batch. [CODE]cd C:\inetpub\wwwroot\atomcms\public\client\nitro && git clone https://github.com/billsonnn/nitro-react.git[/CODE] [*]After this the compile did complete, but I got a white screen wen trying to access the client, and the console said that it missed different files. The files I missed was never gone, but the names was wrong from what the index.html inside the dist folder wanted. What I ended up doing was copying the number behind the files, and inserting it in the index.html. See picture: [SPOILER="Example index.html"][ATTACH type="full" alt="config.PNG"]14682[/ATTACH][/SPOILER] [*]Next thing I did was correct the path for the index.css file inside index.html. [*]And last thing, I changed the websockets.whitelist because I got a weird socket error in the console. This solved the problem for me. [*][CODE]websockets.whitelist = *.URL No :// At the end[/CODE] [/LIST] Thanks to this verry good guide I have my hotel up and running :) [ATTACH type="full" width="370px"]14683[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to set up a retro in 2023 (IIS) (Nitro HTML5) - (Part 3)
Top