问题
When I run exp init Locations
it gives me this error:
npm: 6.1.0
exp: 55.04
回答1:
as @Mandan described.
You could also navigate to %userprofile%/.expo/starter-app-cache
folder to delete blank-1.8.0.tar.gz, and run the expo init
again
回答2:
This is because blank-31.0.1.tar.gz expo pakage does not downloaded properly.
go to C:\Users\YourUsername\ .expo\starter-app-cache
and delete "blank-31.0.1.tar.gz".
After this run:
expo init awsome-project.
回答3:
Apparently this can happen when expo caches a corrupt starter file (see Issues).
Try to delete the file at ~\.exponent\starter-app-cache\blank-1.8.0.tar.gz
and/or remove and reinstall exp using npm remove -g exp
and npm install -g exp
来源:https://stackoverflow.com/questions/50962464/exp-init-project-113126-zlib-unexpected-end-of-file