You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing @figma/code-connect@1.3.0 I receive an error from patch-package:
npm error code 1
npm error path /myproject/node_modules/@figma/code-connect
npm error command failed
npm error command sh -c patch-package
npm error patch-package 8.0.0
npm error Applying patches...
npm error Error: Patch file found for package prompts which is not present at node_modules/@types/prompts
npm error Error: Patch file found for package prompts which is not present at node_modules/prompts
npm error ---
npm error patch-package finished with 2 error(s).
I can't provide a reproduction as it doesn't seem to happen in all environments.
For me it's happening inside a node:20 docker container running in GitLab CI. These are the reported versions:
One suggestion is to move patch-package to prepare instead of postinstall:
One way to get around this would be to use prepare instead of postinstall to run patch-package, assuming your patches are only dev related (say patching certain @types/* for local dev).
The text was updated successfully, but these errors were encountered:
Hey @andrew-pledge-io, sorry for the trouble here. We're going to revert the change which required patching this package and will release an updated version soon!
When installing
@figma/code-connect@1.3.0
I receive an error frompatch-package
:I can't provide a reproduction as it doesn't seem to happen in all environments.
For me it's happening inside a node:20 docker container running in GitLab CI. These are the reported versions:
Potential resolution
patch-package
doesn't support running in published packages according to the maintainer: ds300/patch-package#84 (comment)One suggestion is to move
patch-package
toprepare
instead ofpostinstall
:The text was updated successfully, but these errors were encountered: