-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find [email protected].*. / react-native-windows package not installed #2003
Comments
I managed to get it working by modifying the method getInstallPackage in node_modules\rnpm-plugin-windows\src\common.js to stg like: const getInstallPackage = function (version) { Then the script has continued by installing react-native-windows and created the solution successfully. Thanks. |
Please confirm if you are still able to reproduce this issue. It may have been due to a mismatched version of react-native (e.g., we could not ship [email protected] due to incompatibility of the react-native version) |
I can repro this as of today
I followed the instructions on the getting started page and this version got installed:
Which does correspond to the latest available package on npm. |
@Alex-Rose - we haven't updated react-native-windows to [email protected] yet. In the meantime, you can try targeting [email protected] |
@rozele - React native is moving pretty quickly these days, 0.59 is just around the corner. Is this likely to continue being an issue or is there a plan in place to keep up? |
My project is using RN 0.59.* |
this PR here should update to 0.58: #2293 |
We are not investing in new features or lower priority bug fixes on the C# implementation of React Native for Windows (previously known as "vCurrent"). All investment moving forward is in the C++ infrastructure (previously known as "vNext") and that is the only option as of 0.61 (and was the default as of 0.60). If this issue is still relevant on the modern implementation please open a new issue. If this issue is of significant severity for a vCurrent app and vNext is not an option, re-open with justification. |
Environment
react-native -v
:0.57npm ls rnpm-plugin-windows
: [email protected]npm ls react-native-windows
: first "empty" then [email protected] after ran npm install react-native-windowsnode -v
:npm -v
:Then, specify:
Steps to Reproduce
I have run the command react-native windows. And get "Could not find [email protected].*."
I have tried with differentversion of react-native (0.56, 0.54) but still gets the issue.
After running the command npm install --save-dev rnpm-plugin-windows, I realized that the package react-native-windows was not installed....And I manually installed it with npm install react-native-windows. Still the same error...
Would you have hints ?
Thanks.
The text was updated successfully, but these errors were encountered: