Skip to content

react-native link: Error: ENOENT: no such file or directory, open <path>\MainPage.cs #1578

Description

@vizyviz

Environment

  1. react-native -v:
    react-native-cli: 2.0.1
    react-native: 0.50.0

  2. npm ls rnpm-plugin-windows:
    `-- rnpm-plugin-windows@0.2.8

  3. npm ls react-native-windows:
    `-- react-native-windows@0.50.0

  4. node -v:
    v6.11.4

  5. npm -v:
    5.6.0

  6. yarn --version:

  • Target Platform:
    UWP

  • Target Platform Version(s):
    10.0.14393

  • Target Device(s):
    Desktop

  • Development Operating System:
    Windows

  • Visual Studio Version:
    Visual Studio 2017

Steps to Reproduce

(Write your steps here:)

  1. npm install --save react-native-video
  2. react-native link

Expected Behavior

rnpm-install info Linking react-native-video android dependency
rnpm-install info Android module react-native-video has been successfully linked
rnpm-install info Linking react-native-video ios dependency
rnpm-install info iOS module react-native-video has been successfully linked
rnpm-install info Linking react-native-video windows dependency
rnpm-install info Windows module react-native-video has been successfully linked

Actual Behavior

rnpm-install info Linking react-native-video android dependency rnpm-install info Android module react-native-video has been successfully linked
rnpm-install info Linking react-native-video ios dependency rnpm-install info iOS module react-native-video has been successfully linked
`rnpm-install ERR! Something went wrong while linking. Error: ENOENT: no such file or directory, open '\windows<project_name>\MainPage.cs'
Please file an issue here: https://github.com/facebook/react-native/issues

Reproducible Demo

package.json dependencies section should do it:

"dependencies": {
"react": "16.0.0",
"react-native": "0.50.0",
"react-native-video": "^2.0.0",
"react-native-windows": "^0.50.0"
}

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions