-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Enable offline Yarn support #1235
Comments
I have issues with offline support in yarn v0.17.10 yarnpkg/yarn#2162. Waiting, for triage. If this is confirmed, then I guess CRA should wait for a fix in Yarn. |
Note that I also tried Related: yarnpkg/yarn#1277 (comment)
|
Filed as yarnpkg/yarn#2225. |
@gaearon please let me know if this works right now ;) |
Does it require any flags? |
@gaearon sorry for the late answer, but I lose some time to understand where I have to change the yarnpkg, to use what I build instead of the global package :) Btw if you add --offline after --dev and --exact it should work from the next version! |
Want to send a PR? |
Sure |
Thx |
@gaearon I prefer to wait for the PR, because if you add --prefer-offline still don't work properly. I mean when you are online it does not switch from offline to online and other stuff, the road seems long I think you should reopen #2225. I will work on that because It could be useful for me creating react app offline ;) Apart from this, do you think some end-to-end tests for create-react-app could be useful? Test manually the scripts every time is challenging :P |
It's working now. |
It appears that it doesn't work. Shall we opt in?
The text was updated successfully, but these errors were encountered: