Skip to content
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

@reach/rect error #140

Closed
FawnHux opened this issue Mar 12, 2024 · 2 comments
Closed

@reach/rect error #140

FawnHux opened this issue Mar 12, 2024 · 2 comments

Comments

@FawnHux
Copy link

FawnHux commented Mar 12, 2024

Hello!

Within the past week, when redeploying our HULL-adapted project with Vercel we encountered this error:
Could not resolve dependency: npm ERR! peer react@"^16.8.0 || 17.x" from @reach/[email protected]. I checked your base files and they are the same [email protected] / @reach/[email protected]. It's odd as previously worked fine. For now we have just applied the overide in the package, but good to know if anyone else is experiencing this or has used a different package.

@ndimatteo
Copy link
Owner

Seems like something has degraded with this package, and unfortunately, it's no longer maintained.

I've switched to using @wellyshen's package for measuring refs: https://github.com/wellyshen/react-cool-dimensions

It's a quality package that is suited to replace most instances of @reach/rect 🤘

Hopefully that helps! And as a friendly reminder– I'm working on a new version of HULL (largely a rewrite), and as a result not actively updating the current version unfortunately. Stay tuned!

@manoxs
Copy link

manoxs commented Sep 7, 2024

Overwritting the npm install to yarn install did the build for me
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants