Open michiomochi opened 1 year ago
@bhongy Did we fix this in our DX cleanup?
@michiomochi Thanks for the detailed steps to reproduce. I couldn't repro the issue using the same versions that you shared, though.
Having said that we did some work on package versioning and updating typescript in @formspree/react@2.4.3
(which would use @formspree/core@2.8.2
). Could you give it a try to see if that fixes the issue you run into?
The error looks like you have an incompatible @stripe/react-stripe-js
version installed (rather than an issue with an incompatible typescript version or something specific to your tsconfig
). I wonder if you have a monorepo setup for your project; I saw that sometimes the npm packages from different monorepo packages cause subtle incorrect version errors. Would you mind sharing your yarn or pnpm lockfile; I can help taking a look.
Is there an existing issue for this?
Formspree React Version
2.4.1
Formspree Core Version
2.8.1
Current Behavior
I encounter below compile error.
Expected Behavior
No compile error.
Steps To Reproduce
Using this library.
formspree-react's dependency is below. https://github.com/formspree/formspree-js/blob/70bc374f36c40f921d7b9d795ec381d23bb3545a/packages/formspree-react/package.json#L49
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response