Issue: Windows app failing to build once I've installed cordova-sqlite-storage native plugin


#1

Hi,
I’m facing a really annoying issue trying to create a mobile app for windows phone 10. The project stops building when I install cordova-sqlite-storage native plugin.
This is what i get in the command prompt when I run: cordova run windows

From VS2015 trying to build Realease Windows Phone (Universal) I get:

C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(724,5): error : The
 OutputPath property is not set for project 'SQLite3.UWP.vcxproj'.  Please check to make sure that you 
have specified a valid combination of Configuration and Platform for this project.  Configuration='release'  
Platform='arm'.  You may be seeing this message because you are trying to build a project without a 
solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. 
[C:\ionic2\app1\plugins\cordova-sqlite-storage\src\windows\SQLite3-Win-
RT\SQLite3\SQLite3.UWP\SQLite3.UWP.vcxproj]
1>  Command finished with error code 1: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe 
C:\ionic2\app1\platforms\windows\CordovaApp.Windows10.jsproj,/clp:NoSummary;NoItemAndPropertyList
;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=arm,/p:AppxBundle=Never,/p:UapAppxP
ackageBuildMode=StoreUpload
1>MSBUILD : cordova-build error : Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command 
failed with exit code 1
1>MDAVSCLI : error C: \Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit 
code 1

Any help is really appreciated


#2

What is your cordova requirements output?
What is your ionic info output?
Did you search the plugin’s Github issues for similar errors?


#3

Hi. this is what I get


#4

Do you use the wp8 platform? Otherwise remove it and rerun cordova requirements.


#5

done!


#6

Platform: anycpu

This might not be supported, have a look here: https://github.com/litehelpers/Cordova-sqlite-storage/issues/688#issuecomment-300478364


#7

Fixed it. Thanks a lot Sujan12.


#8

How exactly? Share please so future users can learn from it - I am sure you are not the only one making that error.


#9

I have the same problem but I can´t fix it, please any suggestion?


#10

Same here, I tried to look in https://github.com/litehelpers/Cordova-sqlite-storage/
But all of this goes way over my head