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

error An unexpected error occurred: "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz: ENOENT: no such file or directory, open #123

Closed
tiagob opened this issue Sep 11, 2020 · 5 comments
Projects

Comments

@tiagob
Copy link
Owner

tiagob commented Sep 11, 2020

Both Ben and Ned saw this the first time they ran create-full-stack. Subsequent runs are fine

error An unexpected error occurred: "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz: ENOENT: no such file or directory, open '/Users/ned/Library/Caches/Yarn/v6/.tmp/a0b25aecc01232ec656434ca1bd75c9f/.yarn-tarball.tgz'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/ned/go/src/github.com/nedrocks/my-full-stack/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
`yarnpkg --cwd 
@tiagob tiagob created this issue from a note in v1 (In progress) Sep 11, 2020
@tiagob
Copy link
Owner Author

tiagob commented Sep 12, 2020

This is the same version used in the expo init template
https://github.com/expo/expo/blob/master/templates/expo-template-blank/package.json#L18

Wasn't able to reproduce when I tried deleting the cache

rm -rf /Users/tiagobandeira/Library/Caches/Yarn/v6/.tmp

@tiagob
Copy link
Owner Author

tiagob commented Sep 15, 2020

No issue on Linux workspace on AWS setup from scratch

@tiagob
Copy link
Owner Author

tiagob commented Sep 15, 2020

No issue on MacBook Air setup from scratch

@tiagob tiagob moved this from In progress to Done in v1 Sep 15, 2020
@tiagob tiagob closed this as completed Sep 15, 2020
tiagob added a commit that referenced this issue Sep 15, 2020
@tiagob tiagob moved this from Done to In progress in v1 Sep 18, 2020
@tiagob
Copy link
Owner Author

tiagob commented Sep 18, 2020

Nafis saw the same issue. Can automatically re-install if yarn fails or try clearing the yarn cache

@tiagob tiagob reopened this Sep 18, 2020
@tiagob tiagob closed this as completed in 38bb4bf Sep 18, 2020
v1 automation moved this from In progress to Done Sep 18, 2020
@tiagob tiagob moved this from Done to In progress in v1 Sep 22, 2020
@tiagob tiagob reopened this Sep 22, 2020
@tiagob
Copy link
Owner Author

tiagob commented Sep 23, 2020

Tunay and Huang both saw this issue. I'm able to consistently reproduce by creating a new user on my mac. Likely yarnpkg/yarn#2629.

Confirmed fix in 3eb59e4

@tiagob tiagob closed this as completed Sep 23, 2020
v1 automation moved this from In progress to Done Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v1
  
Done
Development

No branches or pull requests

1 participant