Skip to content
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

新建项目报错 #79

Open
fandych opened this issue Jul 9, 2020 · 1 comment
Open

新建项目报错 #79

fandych opened this issue Jul 9, 2020 · 1 comment
Assignees

Comments

@fandych
Copy link

fandych commented Jul 9, 2020

npx react-native init WemallApp && alita init WemallApp --typescript

初始化完成后, 运行android, app打开时报错

AppContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:67605:22
[Thu Jul 09 2020 16:50:55.257]  ERROR    TypeError: undefined is not an object (evaluating '_this.view._component.measureInWindow')
[Thu Jul 09 2020 16:50:55.258]  ERROR    TypeError: undefined is not an object (evaluating '_this.view._component.measureInWindow')

This error is located at:
    in SafeView (at withOrientation.js:54)
    in withOrientation (at Header.js:433)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at Header.js:430)
    in Header (at withOrientation.js:30)
    in withOrientation (at StackViewLayout.js:129)
    in RCTView (at View.js:34)
    in View (at StackViewLayout.js:476)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at screens.native.js:71)
    in Screen (at StackViewCard.js:42)
    in Card (at createPointerEventsContainer.js:26)
    in Container (at StackViewLayout.js:507)
    in RCTView (at View.js:34)
    in View (at screens.native.js:101)
    in ScreenContainer (at StackViewLayout.js:401)
    in RCTView (at View.js:34)
    in View (at StackViewLayout.js:400)
    in StackViewLayout (at withOrientation.js:30)
    in withOrientation (at StackView.js:49)
    in RCTView (at View.js:34)
    in View (at Transitioner.js:141)
    in Transitioner (at StackView.js:19)
    in StackView (at createNavigator.js:57)
    in Navigator (at createKeyboardAwareNavigator.js:11)
    in KeyboardAwareNavigator (at createNavigationContainer.js:376)
    in NavigationContainer (at Router.js:151)
    in Router (at src/index.tsx:23)
    in App (at renderApplication.js:45)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:106)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:132)
    in AppContainer (at renderApplication.js:39)
[Thu Jul 09 2020 16:50:55.259]  ERROR    TypeError: undefined is not an object (evaluating '_this.view._component.measureInWindow')

This error is located at:
    in NavigationContainer (at Router.js:151)
    in Router (at src/index.tsx:23)
    in App (at renderApplication.js:45)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:106)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:132)
    in AppContainer (at renderApplication.js:39)
[Thu Jul 09 2020 16:50:55.260]  ERROR    TypeError: undefined is not an object (evaluating '_this.view._component.measureInWindow')

This error is located at:
    in NavigationContainer (at Router.js:151)
    in Router (at src/index.tsx:23)
    in App (at renderApplication.js:45)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:106)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:132)
    in AppContainer (at renderApplication.js:39)
@ykforerlang ykforerlang self-assigned this Jul 10, 2020
@mikedream89
Copy link

@ykforerlang 项目还维护吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants