Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export GIF fails with error Uncaught SyntaxError: Unexpected token '.' #12

Open
grant-davidson opened this issue Apr 17, 2021 · 4 comments

Comments

@grant-davidson
Copy link
Collaborator

To reproduce:

  1. clone excalidraw-claymate
  2. install packages
  3. yarn start
  4. Add snapshot
  5. click "Export GIF"

Workaround : Copy node_modules\gif.js\dist\gif.worker.js to public\gif.worker.js

@dai-shi
Copy link
Owner

dai-shi commented Apr 17, 2021

Is this only about when you clone the repo? Or is it failing in the published app?

@grant-davidson
Copy link
Collaborator Author

Yes, it works fine in the published app

@dai-shi
Copy link
Owner

dai-shi commented Apr 18, 2021

Ah ha, so the issue is that the symbolic link does not work on windows. Any idea to fix it more nicely?

@grant-davidson
Copy link
Collaborator Author

That makes sense.
I'll see if I can find a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants