Open WiFiUncle opened 7 years ago
Hmm yes r3r needs to support react@16
Try using latest versions of react with current version of r3r, it will give a warning like this but it may work, please let me know if there are any errors, anything you report will make it easier to update r3r to be compatible :)
Thank you for your explanation, but I'm afraid I'm still in a fog over what happened.
the latest version of react is ‘15.6.1’.
v15.6.1
@gaearon gaearon released this on 15 Jun · 31 commits to 15-stable since this release
15.6.1 (June 14, 2017)
react native and react test renderer require react at ^16.0.0-alpha.12 so when you install react 15.6.1 they complain :) if r3r supports react 16 as well it will be good for all.
Also I'm guessing because ^16.0.0-alpha.12
is an alpha it will not appear as a normal release
i want to make an app that can render 3D model.
G:\ReactNative\RN_Three>npm install --save react@16.0.0-alpha.12 react-dom@16.0.0-alpha.12 three@0.86.0 RN_Three@0.0.1 G:\ReactNative\RN_Three +-- UNMET PEER DEPENDENCY react@16.0.0-alpha.12 +-- UNMET PEER DEPENDENCY react-dom@16.0.0-alpha.12
-- three@0.86.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.1 (node_modules\jest-haste-map\node_modules\sane\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN react-three-renderer@3.2.1 requires a peer of react@~15.6.1 but none was installed. npm WARN react-three-renderer@3.2.1 requires a peer of react-dom@~15.6.1 but none was installed.`
r3r is means react-three-renderer ?
Yes :)
i cannot fixed that question not yet. can u give me some advise about that? please,3Q
I'm also getting an "unmet peer dependency" error .
G:\ReactNative\RN_Three>npm install --save react@15.6.1 react-dom@15.6.1 three@0.86.0 RN_Three@0.0.1 G:\ReactNative\RN_Three +-- UNMET PEER DEPENDENCY react@15.6.1 +-- react-dom@15.6.1
-- three@0.86.0npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.1 (node_modules\jest-haste-map\node_modules\sane\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN react-native@0.47.2 requires a peer of react@16.0.0-alpha.12 but none was installed. npm WARN react-test-renderer@16.0.0-alpha.12 requires a peer of react@^16.0.0-alpha.12 but none was installed.
G:\ReactNative\RN_Three>`
https://github.com/toxicFork/react-three-renderer/issues/87