-
Notifications
You must be signed in to change notification settings - Fork 42
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
depentencies error when installing in react 18 #35
Comments
I have the same problem |
Hi, the current version uses react@18.2.0. Could you please provide more information (like error logs). Did you try running the example? |
@j-era, I downloaded your example, run
|
Ah right, you' re trying with the example which relates to the development setup: react-three-arjs/example/package.json Line 41 in 043e8a5
To run the example you can either, set the npm package version: I'll add it to the README. |
Thank you! The example runs now on my pc. I also tried to install a pure installation of react ( Do I miss something in the installation? |
Did you try 0.5.6? |
My package.json dependencies:
I changed the version to 0.5.6, by default |
Never worked with create-react-app before, but I run into the same error. For now I suggest starting from the example project. |
All right, thank you very much for your help! |
Hello! I am experiencing this issue as well. Is there a solution for this? My {
"name": "constellation",
"version": "0.0.1",
"private": true,
"dependencies": {
"@ar-js-org/ar.js": "^3.4.5",
"@artcom/react-three-arjs": "^0.5.6",
"@react-three/drei": "^9.88.2",
"@react-three/fiber": "^8.14.5",
"@react-three/xr": "^5.7.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.58",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"three": "^0.157.0",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"scripts": {
"build": "react-scripts build",
"dev": "export $(cat ../continuous_integration/environment_variables/localhost.env | sed '/^#/d' | xargs); react-scripts start",
"eject": "react-scripts eject",
"test": "react-scripts test"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/three": "^0.157.0"
}
} |
hi
is thre any way to install it with react 18 ?
The text was updated successfully, but these errors were encountered: