-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Hi, I was trying to follow the tutorial here however in step 1 I get:
Uncaught SyntaxError: Unexpected token * in data.js:18
Continuing the tutorial in step 2, I get:
Uncaught SyntaxError: Unexpected token { in scripts.js:1
This is probably because the import/export syntax isn't available on my end, however I've followed the instructions completly. I can presume that this would also turn off anybody else trying to follow the tutorial when none of the code works because of invalid import/export syntax.
I've got the newest versions of Chrome and Firefox, and in Firefox I get:
SyntaxError: import declarations may only appear at top level of a module instead for both files.
I've looked at the syntax and the support for this and don't see why this code would cause any problems.
Thank you for looking into this issue.