facebookarchive / react-360

Create amazing 360 and VR content using React
https://facebook.github.io/react-360
Other
8.73k stars 1.23k forks source link

Boot failure,It's stuck #292

Closed yangbin1994 closed 7 years ago

yangbin1994 commented 7 years ago
rro:test yangbin$ sudo yarn start
Password:
yarn start v0.27.5
$ node -e "console.log('open browser at http://localhost:8081/vr/\n\n');" && node node_modules/react-native/local-cli/cli.js start
open browser at http://localhost:8081/vr/

 ┌────────────────────────────────────────────────────────────────────────────┐
 │  Running packager on port 8081.                                            │
 │                                                                            │
 │  Keep this packager running while developing on any JS projects. Feel      │
 │  free to close this tab and run your own packager instance if you          │
 │  prefer.                                                                   │
 │                                                                            │
 │  https://github.com/facebook/react-native                                  │
 │                                                                            │
 └────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
   /Users/yangbin/pro/h5-startKit/test

Loading dependency graph...
React packager ready.

jest-haste-map: @providesModule naming collision:
  Duplicate module name: View
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/Components/View/View.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/Components/View/View.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: LayoutPropTypes
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/StyleSheet/LayoutPropTypes.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/StyleSheet/LayoutPropTypes.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: AnimatedImplementation
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/AnimatedImplementation.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: NetworkOverlay
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/NetworkOverlay.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/Inspector/NetworkOverlay.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: NavigationExperimental
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/PlatformSpecific/NavigationExperimental.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/NavigationExperimental/NavigationExperimental.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: processTransform
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/processTransform.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/StyleSheet/processTransform.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: ReactNativeViewAttributes
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/ReactNativeViewAttributes.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/Components/View/ReactNativeViewAttributes.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: setupDevtools
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/setupDevtools.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/Core/Devtools/setupDevtools.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: Text
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/Text.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/Text/Text.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: TransformPropTypes
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/TransformPropTypes.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/StyleSheet/TransformPropTypes.js

This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: YellowBox
  Paths: /Users/yangbin/pro/h5-startKit/test/node_modules/react-vr/Libraries/VRReactOverrides/YellowBox.vr.js collides with /Users/yangbin/pro/h5-startKit/test/node_modules/react-native/Libraries/ReactNative/YellowBox.js

This warning is caused by a @providesModule declaration with the same name across two different files.
Loading dependency graph, done.

It's been suspended here, and there's a lot of warning>-<

andrewimm commented 7 years ago

The warnings are a React Native issue, noted in #76, and will be gone with the next version. In the meantime, they are harmless.

What happens when you point your web browser at http://localhost:8081/vr/ while the server is running?

hreuven commented 7 years ago

getting this to...

Looking for JS files in C:\projects\ReactVR\Basics Loading dependency graph... React packager ready. Loading dependency graph, done.

stuck here... any way around this?

andrewimm commented 7 years ago

@hreuven that's what it's supposed to do, it means the server is running. From there, you can access your app at http://localhost:8081/vr, as described by the docs: https://facebook.github.io/react-vr/docs/getting-started.html

hreuven commented 7 years ago

ok (: thanks, new to reactVR

it got me confused cause i'm getting 403 Forbidden browsing localhost

jgwinner commented 7 years ago

Sounds like maybe you aren't putting the :8081?