metro 0.25.1 can not be used from npm
See original GitHub issueWhat is the current behavior? Can’t install metro@0.25.1 or have it as dependency.
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install
and yarn test
.
mkdir fuck-metro && cd fuck-metro
npm init # all answers default
npm i -P metro@0.25.1
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:babylon@^7.0.0-beta
What is the expected behavior?
Package metro
should successfully be installed into node_modules
and recorded in package.json
Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system. OS: macOS Sierra 10.12.6 (16G1212)
npm --versions
{ 'fuck-metro': '1.0.0',
npm: '5.6.0',
ares: '1.13.0',
cldr: '32.0.1',
http_parser: '2.7.0',
icu: '60.2',
modules: '59',
napi: '2',
nghttp2: '1.29.0',
node: '9.5.0',
openssl: '1.0.2n',
tz: '2017c',
unicode: '10.0',
uv: '1.19.1',
v8: '6.2.414.46-node.18',
zlib: '1.2.11' }
Error exactly here: packages/metro/package.json and it still in master.
And in case one can’t find it, I provide link to documentation of package.json
format: https://docs.npmjs.com/files/package.json#urls-as-dependencies
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Issues - GitHub
In Metro 0.25.1 onwards, the packager will resolve the fixture version of react-native-vector-icons , instead of resolving the actual ...
Read more >metro - npm
Metro. The JavaScript bundler for React Native. Fast: We aim for sub-second reload cycles, fast startup and quick bundling speeds.
Read more >Starting Metro error - NPM React Native App - Stack Overflow
But I got an error when running with npm start. I can't run the app at all. I did what the Readme.md said...
Read more >Queueing Problems with Solutions - DE IK IRH
patterns are quite common, although random service time is not. The model is often used as we used it in Example 5.3.1, that...
Read more >Getting Started | Metro - Meta Open Source
Install Metro using npm: ... npm install --save-dev metro metro-core ... its third parameter when the request could not be handled by Metro....
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
@jeanlauliac Looks like solution, should I create pull request?
A way to fix this, I think, is to create a published package ex.
metro-babylon7
that itself depends onbabylon@7
and re-export it verbatim, then depend onbabylon@6
andmetro-babylon7
frommetro
.