-
Notifications
You must be signed in to change notification settings - Fork 717
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
bug in @react-spring #1311
Comments
Same here. Seems both of these files are empty- fixing the extensions does nothing. |
I think solution could be to downgrade "@react-spring/three": "^9.3.1" in path node_modules/@react-three/drei/package.json |
This worked for me. Thanks! |
What version are you downgrading to? |
Which latest version of drei does not have this issue ? |
Installing these versions works for me: "@react-spring/three": "^9.6.1", |
I cannot fix :( in every version drei reference the last version of @react-spring/types with "^xx.xx.x" instead a specific one |
@zob360 I have been also struggling with this for last couple hours. What worked for me was installing following fixed versions in my own repo: which is annoying because I do not need them, but I plan on removing them once I stop needing the drei controls :) |
After uninstalling and reinstalling nearly every permutation this morning, this finally worked for us – thank you! |
we were able to get it working locally but ran into the same issue building in an AWS CodeBuild Linux container... we were able to resolve by changing the ^ to ~ |
Looks like react-spring@9.7.0 breaks TS resolution since ESM expects fully specified paths. You can pin to I've implemented this in |
This issue should definitely be kept open – pinning the dep isn't ideal for the future :) |
Hi there, for anyone tracking this issue see – pmndrs/react-spring#2097. There's an experimental version out (if you're using the three package change yarn add @react-spring/web@0.0.0-aefd1e584376be38b1f6ca1ca74e061c4ce9b9d8-20230225174818 |
I am facing this issue with: |
Did you see my comment above yours? There's an experimental release which I believe solves the issue. You can use that if you'd prefer. |
on my side @react-spring/web@0.0.0-aefd1e584376be38b1f6ca1ca74e061c4ce9b9d8-20230225174818 not working. @react-spring/web@0.0.0-40ac9039be0c657954e31ea7588bee4abbf1df1f-20230227081728 working same as @react-spring/web": "9.6.1". It works only locally, a message error that can be closed is shown. package.json:
error msg during build: |
Id track and comment on the issue in react-spring, it's hard for me to keep track of two conversations to this magnitude. |
2 months ago the code was working on the last version, something broke.
Module not found: Error: Can't resolve '@react-spring/types/animated' in '.../node_modules/@react-spring/core/dist'
Did you mean 'animated.js'?
BREAKING CHANGE: The request '@react-spring/types/animated' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@react-spring/core/dist/index.mjs 1597:0-50
Module not found: Error: Can't resolve '@react-spring/types/interpolation' in '.../node_modules/@react-spring/core/dist'
Did you mean 'interpolation.js'?
BREAKING CHANGE: The request '@react-spring/types/interpolation' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
The text was updated successfully, but these errors were encountered: