Skip to content

Issue getting react-native-windows installed. Can't run rnpm windows successfully #543

Description

@kcfgl

I'm converting an existing iOS app over to React Native so I can deploy on Windows (thanks to the new UWP support!). I'm looking to add support to an existing React Native app.

But having issues getting dev machine set up. I've tried rolling back to the react-native-windows version, tried rolling back the react-native version to match. I've also messed with my package.json. Nothing seems to work so I can't get the plugin to run and generate the Windows files.

I hit peer dependency errors regardless of how I try to install. But I'm sure I'm missing something.

Here is the error.

Error: Command failed: npm install --save react-native-windows@0.30.*
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "react-native-windows@0.30.*"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3

npm ERR! No compatible version found: react-native-windows@0.30.*
npm ERR! Valid install targets:
npm ERR! 1.0.0, 0.30.0-rc.0, 0.29.2, 0.29.1, 0.29.0, 0.29.0-rc.0, 0.28.3, 0.28.2, 0.28.1, 0.28.0, 0.28.0-rc.1, 0.28.0-rc.0, 0.27.0, 0.27.0-rc, 0.2.5-rc7, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.1.0
npm ERR!
npm ERR!

Here is relevant part of package.json
"dependencies": { "react": "15.2.1", "react-native": "0.30.0-rc.0", "react-native-windows": "0.30.0-rc.0" },

Any help you can provide would be awesome. Thanks.

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