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

Replace Font.sketchplugin error #4

Closed
chris-dura opened this issue May 22, 2015 · 4 comments
Closed

Replace Font.sketchplugin error #4

chris-dura opened this issue May 22, 2015 · 4 comments

Comments

@chris-dura
Copy link

Hello!

New to Sketch... when trying to run the Replace Font.sketchplugin I get the following error:

ReferenceError: Can't find variable: doc
stack: onRun@/Users/CDura/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin:5:20
line: 5
sourceURL: /Users/CDura/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin


Script executed in 0.007434s

Sketch Version 3.3.2 (12043)

@bomberstudios
Copy link
Contributor

How have you installed it?

@chris-dura
Copy link
Author

Sorry, I haven't really done any 101 tuts or anything, but it seemed like I didn't have to "install" it. I was just trying to figure it out without reading the manual. I just went to Plugins > Custom Plugin... then copy+pasted the code and hit Run.

@bomberstudios
Copy link
Contributor

Yeah, that's what I thought.

If you download and install it by double clicking the .sketchplugin file, it'll work fine. However, since GitHub's UI is a disaster for single-file downloading, I'll try to update the plugin so that it works when copying & pasting to Sketch 3.3

@chris-dura
Copy link
Author

Cool, thanks!

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