Can not install metro-bundler
Do you want to request a feature or report a bug?
bug
What is the current behavior?
npm install metro-bundler
[email protected]
updated 1 package in 1.39s
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.
What is the expected behavior? [email protected] updated 1 package in 1.39s Please provide your exact metro-bundler configuration and mention your metro-bundler, node, yarn/npm version and operating system. npm 5.5.1
please install a version above 0.0.0.
I install with the version number, but can not install success too.
react npm install [email protected]
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alan/.npm/_logs/2017-10-30T09_22_05_745Z-debug.log
➜ react npm install [email protected]
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alan/.npm/_logs/2017-10-30T09_22_20_270Z-debug.log
➜ react npm install metro-bundler@latest
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN alan No description
npm WARN alan No repository field.
npm WARN alan No license field.
+ [email protected]
removed 407 packages and updated 1 package in 3.368s
@cpojer
I don't know what your "react npm" call is, but yarn add metro-bundler works for me.
react is directory name, I just run npm install [email protected] in the react dir,
The below is my log when running yarn add metro-bundler
yarn add v0.20.4
info No lockfile found.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ [email protected]
✨ Done in 0.43s.
It can not find any version except 0.0.0, I don't know why @cpojer
I find it, it because my registry is the private source, there is no metro-bundle package in the source server. Thanks for helping