This is a migrated thread and some comments may be shown as answers.

Error: Uncaught SyntaxError: Unexpected token u

2 Answers 518 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
JoPi
Top achievements
Rank 1
JoPi asked on 30 Apr 2015, 01:57 PM

 Hi,

I'm currently trialling AppBuilder and have successfully stepped my way through 3 tutorials and started my own app.  What I've built has worked fine over last few days.  However, today I can't open any of my projects (tutorials or new project)  I'm using the browser AppBuilder and get as far as seeing my files on the right in the Project Navigator.  When I try to open any of them, I get the following error in Output window

Error: Uncaught SyntaxError: Unexpected token u (URL: https://platform.telerik.com/appbuilder/webclient/#/solution/<Project Name>

 Internet here is fine.  Any suggestions?

2 Answers, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 30 Apr 2015, 02:01 PM
Hi Joth,

We have several reports about the same issue after the yesterdays AppBuilder release. It seems like the browser's LocalStorage has something cached that prevents the normal usage of the AppBuilder In-Browser client. This said, I would suggest you to clear the cache and browsing cookies for both
app.icenium.com and platform.telerik.com. Next are the complete steps, you will need to perform in order to do that:
  • In all browsers, log out from platform.telerik.com and telerik.com.
  • Clear the cache and your browser cookies for app.icenium.com and platform.telerik.com in all browsers. In Google Chrome, please make sure to select clear cookies from beginning of time.
  • To clear the local storage data you will need to open our In-Browser Client (from your Telerik Platform account), hit F12 (to open the developer tools) and navigate to Resources. There, you should see the Local Storage pane in the left. Expand it and select the https://app.icenium.com storage. Please, delete everything inside

I hope this helps.


Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Josh
Top achievements
Rank 1
answered on 05 Oct 2015, 08:38 PM
Sounds like someone is trying to JSON.parse "undefined" :)
Tags
Report a bug
Asked by
JoPi
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Josh
Top achievements
Rank 1
Share this question
or