GithubHelp home page GithubHelp logo

Comments (6)

cpojer avatar cpojer commented on April 23, 2024

please install a version above 0.0.0.

from metro.

alanlong9278 avatar alanlong9278 commented on April 23, 2024

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

from metro.

cpojer avatar cpojer commented on April 23, 2024

I don't know what your "react npm" call is, but yarn add metro-bundler works for me.

from metro.

alanlong9278 avatar alanlong9278 commented on April 23, 2024

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.

from metro.

alanlong9278 avatar alanlong9278 commented on April 23, 2024

It can not find any version except 0.0.0, I don't know why @cpojer

from metro.

alanlong9278 avatar alanlong9278 commented on April 23, 2024

I find it, it because my registry is the private source, there is no metro-bundle package in the source server. Thanks for helping

from metro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.