RN 0.54.0 RC 3 can't be installed with npm
See original GitHub issueIs this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native info
Command `info` unrecognized. Make sure that you have run `npm install` and that you are inside a react-native project.
Custom filled environment: Environment: OS: macOS Sierra 10.12.6 (16G1212) Node: 9.5.0 Yarn: - npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b
Steps to Reproduce
- Add
"react-native": "0.54.0-rc.3"
as dependency topackage.json
npm install
Expected Behavior
Have react-native
package inside node_modules
folder.
Actual Behavior
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:babylon@^7.0.0-beta
Cause
Actually this is result of incorrect dependency format in metro
npm package: https://github.com/facebook/metro/issues/142
As it is critical bug for RN, I created this issue to be sure that release of 0.54.0 will not happen until metro deps will be fixed.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:9 (5 by maintainers)
Top Results From Across the Web
React Native version mismatch - Stack Overflow
So the code fetches from nodejs server conflicts with the native one. ... versions and running npm install got everything working again.
Read more >cannot read property of null (reading 'children') npm install
The error message means that npm is trying to read the version property of the folder's package.json file but doesn't find the file....
Read more >Upgrade react native to 0.63.4 android part ios part pod ...
For RN Apps installed via npm, "Libraries" folder is inside. -. ; "node_modules/react-native" but in the source repo it is in the root....
Read more >react-native-flipper - npm
Flipper bindings for React Native. Latest version: 0.176.1, last published: 15 days ago. Start using react-native-flipper in your project by ...
Read more >Chore: Upgrade to React Native 0.63.3 · 362680fafd - fieldnotes
For RN Apps installed via npm, "Libraries" folder is inside ... on project.ext.react, JavaScript will not be compiled to Hermes Bytecode.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
@suuzee Yes, you are right ))) I can use yarn… Also I can fork & fix broken modules same way as I use patched RN… But I hope that it will not be needed. Using yarn is not an option for me.