Skip to content

React error after upgrading react-native version from 0.48.1 to 0.59.1 #26458

Closed
@zhascka

Description

@zhascka

After upgrading react-native version in the project receive the next error

undefined is not an object (evaluating '_react.PropTypes.number')

<unknown>
    KeyboardSpacer.js:38:26
loadModuleImplementation
    require.js:331:6
<unknown>
    index.js:6
loadModuleImplementation
    require.js:331:6
<unknown>
    index.js:17
loadModuleImplementation
    require.js:331:6
<unknown>
    app.js:4
loadModuleImplementation
    require.js:331:6
<unknown>
    index.ios.js:2
loadModuleImplementation
    require.js:331:6
guardedLoadModule
    require.js:197:45
global code
    <unknown file>:0

package json

 "react": "16.8.3",
 "react-native": "0.59.1"
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.Type: QuestionIssues that are actually questions and not bug reports.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions