We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import Spline from '@splinetool/react-spline'; export default function MyScreen() { return ( <View> <Spline scene="https://prod.spline.design/6Wq1Q7YGyM-iab9i/scene.splinecode" /> </View> ); }
Starting the Expo dev client app on Iphone with this screen will crash with error
iOS Bundling failed 3370ms node_modules/expo-router/entry.js (1532 modules) Unable to resolve "react-merge-refs" from "node_modules/@splinetool/react-spline/dist/ParentSize.js"
I am using
├── @splinetool/[email protected] ├── @splinetool/[email protected] ├── [email protected] ├── [email protected] ├── [email protected]
Ideas? Thanks
The text was updated successfully, but these errors were encountered:
What package manager are you using? react-merge-refs is a dependency automatically installed with react-spline. Your package manager is not installing those.
react-merge-refs
You can workaround this by adding react-merge-refs as direct dependencies for now.
Sorry, something went wrong.
Workaround not work every time with npm
I am using Yarn 1.22.22.
Adding react-merge-refs as direct dependency does not work for me. I did this by running yarn add react-merge-refs.
yarn add react-merge-refs
I see the react-merge-refs directory in node_modules:
node_modules
node_modules/react-merge-refs ├── LICENSE ├── README.md ├── dist │ ├── index.d.ts │ ├── index.mjs │ └── index.mjs.map └── package.json
Still getting the original error.
No branches or pull requests
Starting the Expo dev client app on Iphone with this screen will crash with error
I am using
Ideas? Thanks
The text was updated successfully, but these errors were encountered: