Errors in "Run from start" - Forum

Forum Navigation
You need to log in to create posts and topics.

Errors in "Run from start"

In my recent Visualneo Web App I can't try the application with both the functions "Run (from start)" and "Run (from current page)".

I get the errors

':' expecting (main.js?v=48, 2)
"NeoApp" is undefined (index.html, 1277)
[$injector:modulerr] http://errors.angularjs.org/1.8.2/$injector/modulerr?p0=NeoApp&p1=Error: [$injector:nomod] http://errors.angularjs.org/1.8.2/$injector/nomod?p0=NeoApp
at Anonymous function (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:171329)
at ma (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:169856)
at Anonymous function (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:171068)
at Anonymous function (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:14769)
at lt (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:1059)
at i (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:14614)
at Lt (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:16689)
at i (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:7771)
at r (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:8259)
at n (file:///C:/Users/User/Documents/VisualNeoWeb/Libraries/js/neogular.js:1:7414) (jquery.min.js, 2)

 

However "Run in Webbrowser" and "Compile/Publish" are working as expected, as long as there is no logical error within the code. In that case the result is a grey webbrowser, the source code of index.html being one huge line with all the code in it.

The version 2_1_51... is not working, as there are programming errors in it, version 2_1_52 should compile correctly, but shows the described errors when trying to run from start, which is really annoying as you can't analyse the correct use of variables during runtime.

Thanks in advance. Alf

Uploaded files:
  • You need to login to have access to uploads.

@alf-bogner please do not use "Run From Start" as it runs the app under an Internet Explorer instance (very old web browser) I have not deleted those options just in case someone can find them useful.
Use the available Web Browsers instead.
To debug your app under any Web Browser you should use the included "Console" utility, usually available by pressing F12 once your app is running under any web browser. There you will see all errors information etc.

Thank you.

Thanks. Good to know, will save me a lot of headache in future app-development.