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

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
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 closed this as completed Sep 15, 2020
tiagob added a commit that referenced this issue Sep 15, 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
@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
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

1 participant