This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Øyvind Nordbø
Posted Aug 29 - Read on Facebook

So this warning has kept popping up on occasion for quite a while lately, basically when I upload my projects to the Framer share server.

Uncaught SyntaxError: Unexpected token {

It never shows up in my compiler, and I have no idea what it is warning me about. Is this a library bug or am I doing something wrong?


Koen Bok

If you get it, open the console and get a little more context, so I can help debug. If I had to make a wild guess the above means you get json back where your code expects a script (json often starts with {, and js can't parse that).

Read the entire post on Facebook