question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RN 0.54.0 RC 3 can't be installed with npm

See original GitHub issue

Is 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

  1. Add "react-native": "0.54.0-rc.3" as dependency to package.json
  2. 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:closed
  • Created 6 years ago
  • Reactions:13
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
iorikingdomcommented, Feb 18, 2018

+1

6reactions
vovkasmcommented, Feb 23, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found