PDA

View Full Version : Backed ExtJs application does not show on F5 with newly created ExtJs Application



SteV
7 Jun 2017, 4:17 AM
Hello,

I've downloaded and installed the Sencha Visual Studio Plugin 6.0.5.517 on Visual Studio Enterprise 2015 (in Admin mode).
Then created a new Project choosing ExtJs Application with WebAPI with
CMD: C:\Users\myUsername\bin\Sencha\Cmd\6.5.0.180
ExtJS C:\Users\myUsername\bin\Sencha\ext-6.5.0
and universal app
Theme Triton

After the application is there I click reload all and press F5
The Build starts with Errors shown in Output window:
'iexplore.exe' (Script): Loaded 'Script Code (Windows Internet Explorer)'.
Exception was thrown at line 1982, column 37 in eval code
0x800a03f6 - Runtime Error in JavaScript: Invalid Char
Exception was thrown at line 5781, column 5 in eval code
0x80070057 - Runtime Error in JavaScript: invalid Argument.

IE does not show anything else than a blank page
F12 Dev Tools Show in Network tab that Bootstrap.js was not found
which is not located under the Sencha Folder, but in modern and classic Folders as seen in the guide
http://docs.sencha.com/ide_plugins/guides/visual_studio_ide_plugin.html
(http://docs.sencha.com/ide_plugins/guides/visual_studio_ide_plugin.html)
Should there be a bootstrap.js and .css located directly under the Sencha Folder?
If yes, why is it not generated automatically - ext js files are in build Folder for example.
If no what else could prevent the application from showing up in IE11 (same with Chrome).

ty for your response

SteV
8 Jun 2017, 3:12 AM
As I saw from an earlier post from [email protected] I tested this and it works for development and production builds for me,
when sencha CMD is running from a cmd window.
There is also no "Sencha app watch" context menu entry when I click solution, Project or Sencha Folder in Solution Explorer.
This Looks like sencha CMD or the plugin is not working for me.
I also did not find a sencha .log file under the solution Folder, searching in Windows Explorer, that could help clarifying what is wrong.

As we are starting to migrate older applications to new ExtJs Version, we are currently investigating what we need, or what works for the devlepment process.

SteV
9 Jun 2017, 5:10 AM
I found an exception in the log file at c:\Users\{user_name}\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\{random folder}\Logs\{date}.log
Maybe this helps:

2017-06-09 11:30:07.1251 INFO Sencha.VSPlugin.Core.Source.Services.Tern.TernService loading 2294 js files in project...
2017-06-09 11:30:07.1251 INFO Sencha.VSPlugin.Core.Source.Services.Tern.TernService project loaded in 2.977 seconds
2017-06-09 11:30:07.1251 INFO Sencha.VSPlugin.Core.Source.Services.Tern.TernService wrote indexes
2017-06-09 11:30:07.1251 INFO Sencha.VSPlugin.Core.Source.Services.Tern.TernService Listening on port 49104
2017-06-09 13:52:46.3931 ERROR Sencha.VSIX.Source.IntelliSense.QuickInfo.QuickInfoController Exception System.NullReferenceException: Object reference not set to an instance of an object.
at Sencha.VSIX.Source.IntelliSense.QuickInfo.QuickInfoController..ctor(ITextView textView, IList`1 subjectBuffers, QuickInfoControllerProvider provider)
PackageVersion: 6.0.5.517;AssemblyVersion: 1.0.0.0;TernVersion: 232.232