When I run yarn eject, my project cannot be ejected successfully. I’ve tried several times but it will always fail.
This is the terminal output, may anyone give me a help?
❯ yarn eject
yarn run v1.22.17
warning ../../package.json: No license field
$ expo eject
Your git working tree is clean
To revert the changes after this command completes, you can run the following:
git clean --force && git reset --hard
request to https://registry.npmjs.org/expo-template-bare-minimum failed, reason: read ECONNRESET
✖ Failed to create the native project.
You may want to delete the `./ios` and/or `./android` directories before trying again.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I’m using "expo": "~43.0.2" and expo-cli of v5.0.1 locally.
Exactly! I AM having proxy, due to some network issues. So I ran unset http_proxy https_proxy in my terminal and it ejected successfully!
I didn’t realize that it would be an issue of the proxy. Thank you very much bro @wodin !