symbol-spacer-sketch-plugin
symbol-spacer-sketch-plugin copied to clipboard
Build doesn't work when running sketch plugin from master.
Hey @GeertWille!
Running plugins from master
ends up not working in sketch. Plugins from the releases .zip
work, however.
You can recreate with the following:
npm install
npm run build
- Move the
.sketchplugin
file outside therepo
folder. If you open the file from within the repo, it' gets deleted and Sketch says it can't find the file. - Open plugin
- Go to plugin in Sketch, and hit
preferences
.
This is the error from console:
default 10:05:51.822399 -0700 Sketch Exception: TypeError: null is not an object (evaluating 'context.plugin.urlForResourceNamed(frameLocation).path')
TypeError: null is not an object (evaluating 'context.plugin.urlForResourceNamed(frameLocation).path')
line: 602
column: 70