Error malformed response Unexpected Token ionic upload

25-Sep-2015 1 Comments Paras

While using ionic view for testing, a strange error took my few hours of time. First I thought there was something wrong on the app, so I tried a few approaches to fix this.
ionic error

  • 1. Reset the app_id in the ionic.project file
  • 2. Login again and upload
ionic login

will help you to login again None of these approaches worked. I then created a new ionic project and uploaded it to ionic view and to my surprise it still gave the same error. Then I realized it could be a version issue and upgrading ionic resolved the issue. Hope this helps!


npm ionic install -g

Comments
  • paras

    hey yo this is just a test comment