Skip to content

Unexpected ReactNativeStyleResolver module missing ? #1304

@momsse

Description

@momsse

The problem

The module packages/react-native-web/src/exports/StyleSheet/ReactNativeStyleResolver.js have been deleted on this commit: Fix copyright headers

I guess it's a bad move given the commit message?

That actualy break injection of react-native-web on react-primitives lib (see here)

Could not find module in path: 'react-native-web/dist/cjs/exports/StyleSheet/ReactNativeStyleResolver' relative to '/node_modules/react-primitives/lib/injection/react-native-web.js'

How to reproduce

Simplified test case: https://codesandbox.io/s/618w52082r

Steps to reproduce:

  1. Just go to the landing page of https://codesandbox.io/s/618w52082r

Expected behavior

No crash.

Environment (include versions). Did this work in previous versions?

  • React Native for Web (version): 0.12
  • React (version): 16
  • Browser: TBC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions