Skip to content

undefined is not an object (evaluating '_reactNative.NavigationExperimental.Header') #241

@aswinmohanme

Description

@aswinmohanme

Error:
undefined is not an object (evaluating '_reactNative.NavigationExperimental.Header') gets thrown when the app is built and run.

Steps I Took:
Initialize an empty react native project
Add yarn add @shoutem/ui' react-native link Use the '<Examples /> Component
react-native run-android

My System Configuration

react-native --version                                                                                                                      22:10:05
    react-native-cli: 2.0.1
    react-native: 0.44.0

Package.json

{
	"name": "testShoutem",
	"version": "0.0.1",
	"private": true,
	"scripts": {
		"start": "node node_modules/react-native/local-cli/cli.js start",
		"test": "jest"
	},
	"dependencies": {
		"@shoutem/ui": "^0.13.0",
		"react": "16.0.0-alpha.6",
		"react-native": "0.44.0"
	},
	"devDependencies": {
		"babel-jest": "19.0.0",
		"babel-preset-react-native": "1.9.1",
		"jest": "19.0.2",
		"react-test-renderer": "16.0.0-alpha.6"
	},
	"jest": {
		"preset": "react-native"
	}
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions