-
Notifications
You must be signed in to change notification settings - Fork 165
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
React, Webpack based figma plugin code doesn't run after version 0.11.0 onwards #358
Comments
@satenshakya could you run the app from terminal and pin the output after the plugin crash? |
@satenshakya Or can you provide a plugin sample which triggers this bug? |
I have the same issue. You can recreate it by creating a new plugin. Move code.js to a subfolder like dist. Update manifest.json to "main": "dist/code.js". Then try to import the plugin. Something about the code is a subfolder causes the error. Here is the sample manifest.json |
Same Error with our @streamlinehq plugin. Screencast.from.2024-01-11.07-53-34.webmThis is the error log when running figma from flatpak console. @ChugunovRoman
|
Same here. Manjaro, AUR package, v0.11.2, can't import Vue 2 app built with Webpack. Before the update everything was ok. It also works when manifest is in the same directory as plugin's files (code.js, app.html, etc)
|
TestLinuxFigma.zip |
@satenshakya the "main" property should "src/code.js", but the plugin will not imports. I fixed that |
App version: 0.11.0+
Type of installed package (Snap, AppImage, deb, rpm, pacman): deb
Bug description
I have used React and Webpack to develop the Figma plugin UI. It worked fine with version 0.10.0 but after the 0.11.0 update, the plugin did not run.
Getting the following error:
Promise (id: "17") reject via error: in figma plugin
The text was updated successfully, but these errors were encountered: