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

Error upon first run #1

Open
antonija-nosto opened this issue Feb 16, 2020 · 3 comments
Open

Error upon first run #1

antonija-nosto opened this issue Feb 16, 2020 · 3 comments

Comments

@antonija-nosto
Copy link

image

I followed the docs however this is the error I see when I run npm run watch. How to remedy this issue?

@jamieecarr
Copy link
Owner

jamieecarr commented Mar 4, 2020

Looks like the typescript hasn't compiled but I can't replicate this on my end.
Could you post the output of the npm run watch command?

@nwittwer
Copy link

nwittwer commented Jul 8, 2020

Seeing this as well after cloning for a new project.

Here's the output of npm run watch:
Screen Shot 2020-07-08 at 1 38 34 PM

@nwittwer
Copy link

nwittwer commented Jul 8, 2020

Ah, maybe some confusion of how to get started.

How I started:

  1. Figma: Plugins > Development > New Plugin...
  2. Figma: Template: "With UI & browser APIs"
  3. Figma: Save as...
  4. Copy ID from the generated manifest.json
  5. Paste into this project's manifest.json

missing steps:

  1. You can just delete this new plugin from Figma now, you just needed an ID (Plugins > Manage > Remove...)
  2. Figma: Plugins > Development > New Plugin... > Link existing plugin
  3. Select this project's manifest.json file
  4. Run npm run watch again
  5. Figma: Plugins > {{ your plugin }}
  6. No errors!

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

3 participants