Giter Club home page Giter Club logo

sketch-plugin-boilerplate's Issues

yarn start:webview fails to compile

First of all, great boilerplate!

But I'm having a issue when I try start the webview via yarn. I get the following error:

$ node scripts/start-webview.js
Failed to compile.
Cannot read property 'indexOf' of undefined
error Command failed with exit code 1

Do you have any idea how to fix this? #5

Issue with build (.git related)

The build doesn't complete properly the first time because the frameworks directory is missing.

Perhaps you could add an empty hidden file (e.g. .foo) so that frameworks will be uploaded with the directory?

Quick-fix for anyone cloning is just to create frameworks directory locally (ie. in ~sketch-plugin-boilerplate/src/).

How to inspect panel and/or window DOM via safari

This is such an awesome repo!

I'm having trouble inspecting the DOM and seeing any console errors for a panel/window. I can inspect the application via safari but it doesn't have the elements panel.

Any help would be greatly appreciated!

Thanks in advance,
Jono

Getting user input using 'require('sketch/ui')'

Hey @julianburr , I'm having trouble using the provided Sketch API reference to get a user input within sketch. I want to do something like this:

var UI = require('sketch/ui');
const response = UI.getStringFromUser("Enter a string", 'e.g. hello');

but when I run yarn build on the boilerplate, I get this error on build:

ModuleNotFoundError: Module not found: Error: Can't resolve 'sketch/ui'

Any suggestions would be much appreciated!!

No effect for watch

Hello! In Mac OS Catalina, sketch version 59.1. When I use yarn start,there is no effect when I change something.
Please help me. Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.