Hi Mark,

I'm talking about the dev tools in the browser you are using. I'm using Chrome 
so 'pause on uncaught exceptions' is an option at the top right of the 
'sources' tab in my dev tools. If you are using source maps in Moonshine then 
theoretically this should not be needed, but Piotr and Josh can probably 
comment on that better than myself.

Yishay
________________________________
From: MARK HARTNETT <m_hartn...@comcast.net>
Sent: Tuesday, April 30, 2024 3:05 PM
To: users@royale.apache.org <users@royale.apache.org>
Subject: Re: Not Found Error

Hi Yishay,
My browser opens up but remains completely blank with localhost:3000\index.html 
in the address. I included the full log. I don't know where the 'break on 
uncaught exception' is located. I looked around but couldn't find anything.

I am assuming the minute it executes new RMFullApp_mx_managers_ 
SystemManager().start(), the browser hangs and remains blank.

This happens on a Win11 and Win7 systems so it's either my app or Moonshine 
compiler. Since no one has seen this before, I lean towards my application as 
the issue.

I guess my next step is to see if 'break on uncaught exception' helps me. If 
that doesn't work I will write a small app and see if it runs properly.

Thanks
Mark
On 04/30/2024 5:20 AM EDT Yishay Weiss <yishayj...@hotmail.com> wrote:


Sorry if my question seems obvious, but are there any js errors in your web 
browser? Do you have 'break on uncaught exception' turned on?

________________________________
From: MARK HARTNETT <m_hartn...@comcast.net>
Sent: Tuesday, April 30, 2024 12:14 PM
To: users@royale.apache.org <users@royale.apache.org>
Subject: Re: Not Found Error

Hi All,
Still stuck on this error. Absolutely no clue on what is breaking it.
****************************************************************************************************
: [2024-04-30T08:45:58.998Z] "GET /RMFullApp_mx_managers_SystemManager.js" 
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/109.0.0.0 Safari/537.36"
: [2024-04-30T08:46:05.981Z] "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 
Safari/537.36"
: [2024-04-30T08:46:05.981Z] "GET /favicon.ico" Error (404): "Not found"
**********************************************************************************************************

1. I put an image called favicon.ico in the localhost root dir.
2. The browser freezes when it hits the error.
3. Set breakpoints in the debugger but never reaches the debugger.
4. I tried it on another machine and it failed the same way. 2 different 
machined same error.
5. It always happens after "RMFullApp_mx_managers_SystemManager.js" is 
retrieved.

Is this a coding problem or a compiler problem, I have no idea.

One possible solution is to put <link rel="shortcut icon" href="#"> put into 
the head of index.html, but that file is recreated every build and the line 
disappears.

If no one else has ever run into this error, it seems like it may be in my 
code, but I can't find anything that is suspect.

If anyone has any ideas - please let me know - I can zip my code up if needed 
and send it out if someone can look at it.

Thanks for any help
Mark


On 04/29/2024 5:27 PM EDT Piotr Zarzycki <piotrzarzyck...@gmail.com> wrote:


Maybe go step by step. Either comment out some code and try to run app or place 
breaking point in initial places where app is running. You can debug stuff in 
Chrome.


Piotr Zarzycki



On Mon, 29 Apr 2024 at 23:00, MARK HARTNETT 
<m_hartn...@comcast.net<mailto:m_hartn...@comcast.net>> wrote:
Hi,

I haven't made any progress on this error. The browser freezes and hangs when 
it hits the not-found. I can reproduce the error on a Windows 11 system using 
the latest version of Moonshine.

I installed VS Code but still figuring it out.
Below is the console output from Moonshine right at the point the browser 
freezes.

Thanks

Project files cleaned successfully: CauseLogixR
: The project 'RMFullApp' has been successfully compiled.
: 61.559639018 seconds
: Project CauseLogixR build successfully.
: Command: C:\MoonshineSDKs\NodeJS\node-v12.15.0\node.exe C:\Program 
Files\Moonshine\elements\http-server\bin\http-server 
C:\development\CauseLogixR\bin\js-debug -p 3000
: Opening to URL: http://localhost:3000/index.html
: Launching application using adapter: chrome
: Starting up http-server, serving C:\development\CauseLogixR\bin\js-debug
: Available on:
: http://10.0.0.246:3000<http://10.0.0.246:3000/>
: http://127.0.0.1:3000<http://127.0.0.1:3000/>
: Hit CTRL-C to stop the server
: [2024-04-29T13:37:42.960Z] "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/109.0.0.0<http://109.0.0.0/> Safari/537.36"
: (node:6416) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers 
is deprecated
: [2024-04-29T13:37:42.970Z] "GET /favicon.ico" Error (404): "Not found"

Reply via email to