BuilderIO / figma-html

Builder.io for Figma: AI generation, export to code, import from web
https://www.figma.com/community/plugin/747985167520967365
MIT License
3.11k stars 287 forks source link

Unable to build the plugin locally. #80

Open mshehrozsajjad opened 2 years ago

mshehrozsajjad commented 2 years ago

I don't know if I am missing an env file or any step in running the plugin locally. I get the following error when I try to build the plugin. Any help would be appreciated.

TS2403: Subsequent variable declarations must have the same type. Variable 'process' must be of type 'Process', but here has type '{ env: { NODE_ENV: "development" | "production" | undefined; API_ROOT: string | undefined; API_KEY: string | undefined; }; }'.

steve8708 commented 2 years ago

hey @mshehrozsajjad - try deleting these lines and that may remove the error you are seeing