You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 --offline and it didn't work because it requested latest whereas we only have a specific version in cache (for example 0.8.4). I wish there was a way to "agree" to use whatever local version we have if there is no network connection.
@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!
@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
Activity
sylvainbannier commentedon Dec 11, 2016
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.
gaearon commentedon Dec 11, 2016
Note that I also tried
--offline
and it didn't work because it requestedlatest
whereas we only have a specific version in cache (for example0.8.4
). I wish there was a way to "agree" to use whatever local version we have if there is no network connection.Related: yarnpkg/yarn#1277 (comment)
gaearon commentedon Dec 12, 2016
Filed as yarnpkg/yarn#2225.
voxsim commentedon Jan 17, 2017
@gaearon please let me know if this works right now ;)
gaearon commentedon Jan 18, 2017
Does it require any flags?
voxsim commentedon Jan 20, 2017
@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!
gaearon commentedon Jan 20, 2017
Want to send a PR?
voxsim commentedon Jan 20, 2017
Sure
gaearon commentedon Jan 20, 2017
Thx
voxsim commentedon Jan 20, 2017
@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
7 remaining items