You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/06/13 11:47:03 UTC

[GitHub] [cordova-windows] robertnicjoo opened a new issue #340: Blank page

robertnicjoo opened a new issue #340: Blank page
URL: https://github.com/apache/cordova-windows/issues/340
 
 
   I have Ionic app which so far i made android app and app is working just fine in fact it's released to google store as well, so everything is really fine with my app until I added `Cordova Windows Platform` in order to have another version of my app and now when I open my project on VS17 and run the app this is what I get:
   
   ![ni](https://user-images.githubusercontent.com/8672823/59429545-3619fa00-8e0a-11e9-848d-cffa86b505ce.png)
   
   _Blank window_.
   
   
   ### Info
   
   ```
   OS: Windows 10
   IDE: VS17
   Installed Windows 10  SDK
   Installed MSbuild
   Installed UWP
   ```
   
   > Note: if I run command `ionic cordova build windows` I get:
   
   ```
   ENV var MSBUILDDIR is set C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
   rm: could not remove directory (code ENOTEMPTY): C:\laragon\www\ionic\xxxx\platforms\windows\build/windows
   
   rm: could not remove directory (code ENOTEMPTY): C:\laragon\www\ionic\xxxx\platforms\windows\build/windows
   rm: could not remove directory (code ENOTEMPTY): C:\laragon\www\ionic\xxxx\platforms\windows\build
   
   Building project: C:\laragon\www\ionic\xxxx\platforms\windows\CordovaApp.Windows10.jsproj
           Configuration : debug
           Platform      : anycpu
           Buildflags    : /p:AppxBundle=Never
           MSBuildTools  : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
   buildProject spawn: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild [ 'C:\\laragon\\www\\ionic\\xxxx\\platforms\\windows\\CordovaApp.Windows10.jsproj',
     '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal',
     '/nologo',
     '/p:Configuration=debug',
     '/p:Platform=anycpu',
     '/p:AppxBundle=Never' ] { stdio: 'inherit' }
     prebuild.js: Patching platform `10`
     - Injected `base.js` reference to `/www/index.html`
     - Removing /( *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.WinJS.2.0\/js\/base.js">\s*<\/script>)(\s*)/ from /www/index.html
     - Removing /( *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.Phone.WinJS.2.1\/js\/base.js">\s*<\/script>)(\s*)/ from /www/index.html
   C:\laragon\www\ionic\xxxx\platforms\windows\CordovaApp.Windows10.jsproj(86,9): error : The following component requires .NET Native compilation which is not available when targeting 'Windows10' and 'AnyCPU'. Consider changing the targeted processor architecture to one of the following: 'x86, x64, ARM' (if you are using command line this could be done by adding '--archs' parameter, for example: 'cordova build windows --archs=x64'). C:\laragon\www\ionic\xxxx\platforms\windows\plugins\onesignal-cordova-plugin\OneSignalSDK_WP_WNS_WRTC.winmdNo valid MSBuild was detected for the selected target: Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild: Command failed with exit code 1
   ```
   
   And If I use VS17 I get blank screen.
   
   
   **Any idea what might be wrong?**
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org