Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react@16.6.2 No matching version found for scheduler@^16.6.2 #14208

Closed
imsobear opened this issue Nov 13, 2018 · 59 comments
Closed

react@16.6.2 No matching version found for scheduler@^16.6.2 #14208

imsobear opened this issue Nov 13, 2018 · 59 comments

Comments

@imsobear
Copy link

Do you want to request a feature or report a bug?

bug

What is the current behavior?

➜  npm install react@latest
npm ERR! code ETARGET
npm ERR! notarget No matching version found for scheduler@^16.6.2
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! notarget
npm ERR! notarget It was specified as a dependency of 'react'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/sobear/.npm/_logs/2018-11-13T02_57_46_814Z-debug.log

image

image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

What is the expected behavior?

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

react@16.6.2

@janryWang
Copy link

+1

2 similar comments
@heiniuhaha
Copy link

+1

@weepy3641
Copy link

+1

@zhu-meng-han
Copy link

+1

@jonnydungeons
Copy link

Just got the same

@Jonir227
Copy link

+1

@njugray
Copy link

njugray commented Nov 13, 2018

same problem

@bloody-ux
Copy link

+1

@Godsenal
Copy link

+1

@FranklinTesla
Copy link

aha, i think this is a slip of pen of the version

@xingxinghuo1000
Copy link

hand slipped lol

@wssgcg1213
Copy link

emergency! waiting online

@teokeecheng
Copy link

Same problem~

@tknickman
Copy link

Also just ran into this

1 similar comment
@chenmingjia
Copy link

Also just ran into this

@beyondxgb
Copy link

stupid mistake, hope to solve quickly

@panyifei
Copy link

panyifei commented Nov 13, 2018

+1,and cnpm works

@xyzpinecone
Copy link

Use yarn install instead of npm install for now.
You can choose scheduler version when you're using yarn.

@EsanLe
Copy link

EsanLe commented Nov 13, 2018

+1

@tao1991123
Copy link

+1s

@uncledu
Copy link

uncledu commented Nov 13, 2018

+1

@EsanLe
Copy link

EsanLe commented Nov 13, 2018

enzyme-adapter-react-16@1.7.0 › react-test-renderer@16.6.2 › scheduler@^16.6.2

@dongyeo
Copy link

dongyeo commented Nov 13, 2018

+1s

@liajoy
Copy link

liajoy commented Nov 13, 2018

+1

1 similar comment
@hvangumi
Copy link

+1

@zintaen
Copy link

zintaen commented Nov 13, 2018

+1

@jianzhichun
Copy link

+1

愁啊。。

@afc163
Copy link

afc163 commented Nov 13, 2018

Whole world are waiting SF Bay waking up. 😆

@tongbin
Copy link

tongbin commented Nov 13, 2018

+1

3 similar comments
@ycjcl868
Copy link

+1

@HKChen
Copy link

HKChen commented Nov 13, 2018

+1

@iamdanielyin
Copy link

+1

@quirimmo
Copy link

quirimmo commented Nov 13, 2018

Guys, stop floodding the post with useless +1 comments please.
It makes just the thread unreadable.
The issue has been reported and confirmed.

@LeoEatle
Copy link

why will this happen? I just wonder...

@EugeneNguyen
Copy link

someone make a sleepy-commit?

@sadianliaoer
Copy link

The project is going online, the automation script is not available, and the repair is waiting online

@younth
Copy link

younth commented Nov 13, 2018

wake up and fix it !

@acdlite
Copy link
Collaborator

acdlite commented Nov 13, 2018

Fixed in 16.6.3 https://unpkg.com/react@16.6.3/package.json

@daggmano
Copy link

Farewell 16.6.2, it seems we barely knew you...

@sanketthanvi
Copy link

+1 👍

@lipeibin1995
Copy link

what happened?

@hamidra
Copy link

hamidra commented Nov 13, 2018

Fixed in 16.6.3 https://unpkg.com/react@16.6.3/package.json

Can you also add proper tests for dependency version sanity checks to prevent this from happening again! This type of bugs will have ripple effect:)

@zhoumh1988
Copy link

I remove the file '.evn', it works well.
or
use yarn to install.

@acdlite
Copy link
Collaborator

acdlite commented Nov 13, 2018

Yeah we're working on improving our release process and tooling.

We're moving to a new release flow where all stable releases are built by downloading a previously published canary directly from npm and re-publishing it with new versions. The idea is that the stable packages should be identical to the ones in the canary.

The only difference, which we can't avoid, is that we have to update the versions. Which is the exact thing that broke in this case :D

Oops!

I'm going to add some snapshot tests to the release script to protect against future regressions.

I also probably slightly rushed this patch release because there were some Suspense-related bugfixes that really needed to go out. Usually we would wait for a canary build to stabilize a bit before promoting it to stable.

Thanks for your patience! And also, please use lockfiles next time :D

@webmasterdevlin
Copy link

Thanks for fixing this issue, Andrew. We were in the middle of a React workshop when we encountered the bug. Glad everything is fine again.

calpa added a commit to calpa/gatsby-starter-calpa-blog that referenced this issue Nov 13, 2018
* chore(package): update react to version 16.6.3

* chore(package): update react-dom to version 16.6.3

* chore(package): update lockfile package-lock.json

值得注意的是: React 16.6.2 會 build 錯誤,因為 No matching version of scheduler@^16.6.2

```
npm ERR! code ETARGET
npm ERR! notarget No matching version found for scheduler@^16.6.2
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! notarget 
npm ERR! notarget It was specified as a dependency of 'react'
npm ERR! notarget 
```

facebook/react#14208
TRMW added a commit to TRMW/blitzentrapper that referenced this issue Nov 13, 2018
@vamisola
Copy link

update npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests