Ionic Push Problems with Typescript Errors


#1

I am trying to use Ionic Push but when I run “ionic serve” I get a ton of typescript syntax errors.

Here are the errors I get:

t/es5/plugins/media-capture.d.ts(34,59): Error TS1005: '=' expected.                                                
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/mixpanel.d.ts(71,21): Error TS1005: '=' expected.                                                     
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/mixpanel.d.ts(71,27): Error TS1005: ';' expected.                                                     
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/network.d.ts(47,21): Error TS1005: '=' expected.                                                      
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/network.d.ts(47,31): Error TS1005: ';' expected.                                                      
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/screen-orientation.d.ts(46,21): Error TS1005: '=' expected.                                           
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/screen-orientation.d.ts(46,32): Error TS1005: ';' expected.                                           
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/sqlite.d.ts(30,14): Error TS1005: '=' expected.                                                       
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/sqlite.d.ts(30,30): Error TS1005: ';' expected.                                                       
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/statusbar.d.ts(71,21): Error TS1005: '=' expected.                                                    
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/statusbar.d.ts(71,30): Error TS1005: ';' expected.                                                    
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/webintent.d.ts(15,21): Error TS1005: '=' expected.                                                    
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/webintent.d.ts(15,32): Error TS1005: ';' expected.                                                    
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/webintent.d.ts(16,21): Error TS1005: '=' expected.                                                    
TypeScript error: /Users/drewgallagher/Documents/sweIonicApp/node_modules/@ionic/cloud/node_modules/ionic-native/dis
t/es5/plugins/webintent.d.ts(16,31): Error TS1005: ';' expected. 

I need to be able to use Push Notifications for my application that I am building on a deadline. Does anyone have a solution?


#2

+1 same issue after just updating node packages