I’m having issues running my plugin locally in development.
The verbose I get in the console sheds no light on what the issue is.
The plugin I’m trying to run is “Design Lint” which uses a standard Figma Plugin React Template.
I’ve had to add
export SET NODE_OPTIONS=--openssl-legacy-providerto the
yarn build:watchcommand to allow it to build Webpack for
arm-64M1 chips, instead of
This is the error I’m getting when importing the plugin’s manifest and executing it In Development mode:
I’ve looked at the minified files and couldn’t find much clarity besides a vague error message regarding the manifest, but it seem to work just fine on the Published version so I don’t think there should be anything missing there.
The issue seem to only happen on my M1 Max, but runs just fine on my M1 Pro. I’ve tried uninstalling Figma completely (using the available uninstall.sh on Figma’s website), I’ve completely removed nodejs and reinstalled cleanly with
nvm, but the issue still persists, making it impossible for me to run the plugin on this machine.
On the other hand, the New Plugin template (that creates 5 rectangles) generated through the Figma app does run just fine in development mode on this machine.
My dev env:
Apple M1 Max
Any guidance on where I should be looking to debug this issue would be greatly appreciated.