Skip to content

error: bundling failed: Error: While resolving module react-native/Libraries/StyleSheet/StyleSheetPropType, the Haste package react-native was found. However the module Libraries/StyleSheet/StyleSheetPropType could not be found within the package. Indeed, none of these files exist: #23228

Closed

Description

@GospelHW

I‘m doing upgrade RN to v0.57.8 from v0.58.3,I have this question.
my step is :
1.npm install --save react-native@0.58.3
2.react-native run-android

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: (8) x64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
Memory: 164.21 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.6.0 - /usr/local/bin/node
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 22, 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.3, 27.0.3, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: ^16.6.3 => 16.7.0
react-native: ^0.58.3 => 0.58.3
npmGlobalPackages:
react-native-cli: 2.0.1

Description

2019-01-31 4 15 15

![device-2019-01-31-161555](https://github.com/_userimg/24928406/52041216-b6834100-2574-11e9-891e-66c253cbc561.png)

A very unpleasant upgrade

Reproducible Demo

Activity

  1. GospelHW commented on Jan 31, 2019

    @GospelHW
    Author

    and hava this one
    device-2019-01-31-162212
    2019-01-31 4 22 19

    Please help me .

  2. added
    Tech: Bundler 📦
    on Jan 31, 2019
  3. added
    Resolution: For Stack Overflow
    and removed on Jan 31, 2019
  4. added
    Ran Commands
    on Jan 31, 2019
  5. react-native-bot commented on Jan 31, 2019

    @react-native-bot
    Collaborator

    Please use Stack Overflow for this type of question.

  6. GospelHW commented on Feb 1, 2019

    @GospelHW
    Author

    In RN 0.58.3 the StyleSheetPropType not in path react-native/Libraries/StyleSheet/StyleSheetPropType,and it name change ,new name is StyleSheetType.

  7. locked as resolved and limited conversation to collaborators on Jan 31, 2020
  8. added
    Resolution: Locked
    on Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: StyleSheetBugRan CommandsResolution: For Stack OverflowResolution: LockedTech: Bundler 📦

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions