-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
@create-figma-plugin/build doesn't work inside a pnpm workspace #84
Comments
@gluck Can you confirm whether this issue is fixed by |
The commit that should fix this issue is 96d1025 |
I haven't tested yet but afaict it won't fix it, this folder will only exist in cwd if the user installed it. |
Got it. Just to check, is the repo set up that such that |
The other way around. |
Verified that this is fixed as of |
Confirmed working on my side too, thx ! |
When the plugin is part of a pnpm monorepo (using workspaces), it fails to find
tcm
.Reason is that in that case
tcm
is present only in:node_modules/@create-figma-plugin/build/node_modules/.bin/
And not in:
node_modules/.bin/
Fix:
{ cwd: __dirname }
asfindUp
option (default isprocess.cwd()
)Workaround:
typed-css-modules
in figma plugin sotcm
binary gets installed innode_modules/.bin
as well.The text was updated successfully, but these errors were encountered: