I tried to run an Ionic 3 project from existing files using not C++ but Apache/Cordova and i am getting these errors. Idid a Typescript project works fine. But Cordova won't run with Javascript?
Severity Code Description Project File Line Suppression State
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 168
Warning No compiler log specified, 'Clean' won't work. ionic2 C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets 320
Error TS1139 Build:Type parameter declaration expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS1109 Build:Expression expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS1128 Build:Declaration or statement expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS2304 Build:Cannot find name 'string'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 137
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 167
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 193
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 194
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 224
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 225
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 255
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\compile_metadata.d.ts 256
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\core.d.ts 12
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\jit\compiler.d.ts 20
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\jit\compiler.d.ts 21
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\jit\compiler.d.ts 49
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\jit\compiler.d.ts 50
Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\compiler\src\jit\compiler.d.ts 53
Error TS2304 Build:Cannot find name 'key'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS2693 Build:'StateKey' only refers to a type, but is being used as a value here. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS1005 Build:';' expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS1005 Build:',' expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS1005 Build:')' expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34
Error TS1005 Build:'(' expected. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various Scripts\ionic2\node_modules\@angular\platform-browser\src\browser\transfer_state.d.ts 34