System:
OS: macOS 10.15.3
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.16.1 - /usr/local/opt/node@12/bin/node
npm: 6.13.4 - /usr/local/opt/node@12/bin/npm
IDEs:
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
expo: ^36.0.2 => 36.0.2
react: ^16.12.0 => 16.12.0
react-native: ^0.61.5 => 0.61.5
npmGlobalPackages:
expo-cli: 3.13.2
Hi all,
If I run a build with the out-of-the box assets, I get:
Building iOS bundle
Building Android bundle
Analyzing assets
Uploading assets
No assets changed, skipped.
Processing asset bundle patterns:
- /Users/joaquim/Projects/community/**/*
However if I change one of these assets:
Building iOS bundle
Building Android bundle
Analyzing assets
Uploading assets
Uploading /assets/icon.png
Request failed with status code 404
The same issue happens with expo publish
How can I solve this issue?
3 Likes
I have the same exactly issue… if I change any of assets I get a status 404.
This probably won’t solve anyone else’s problem but I got it to work by using a Windows machine rather than my Macbook
Reading the log … seems is something with axios in mac os
I had the same problem. It was the path to my icon in app.json. Expo couldn’t find it and just threw the 404 error.
That is not the issue, the issue is if you change any of the assets (icon, splash…) You will get the 404… But is not about change the name, is just change the content of the .png
I already texted in all my expo projects and I get that issue. Also you can try creating a new expo blank project and then change icon.png or splash.png
Hope the expo team can fix it soon
刚刚发现解决问题的办法了,可能是最新的expo cli问题,降到3.13.1就好了。
I’m having the same problem. I tried on my Mac and my Windows PC and I’m still getting a 404 error when I try to publish with changed assets.
EDIT: Downgrading to 3.13.1 solved the problem for me.
1 Like
iboy15
March 9, 2020, 9:38am
10
solve the problem by downgrade to to version 3.13.1
npm i -g expo-cli@3.13.1
wodin
March 9, 2020, 11:18am
11
Hi
Here’s the corresponding issue on GitHub:
opened 06:05PM - 07 Mar 20 UTC
closed 10:12PM - 09 Mar 20 UTC
## Description
`expo build:ios` throws an error **Request failed with status co… de 404** when I use the following PNG in my build directory.
![swipeup-gif](https://user-images.githubusercontent.com/11444894/76150004-c15fad80-6073-11ea-922a-5f40192e9d52.png)
## Expected Behavior
Should build without a problem, it shouldn't ask me to login to my Apple Developer account every time I build.
What action did you perform, and what did you expect to happen?
`expo build:ios` should build without a problem but instead throws a 404 error.
## Observed Behavior
Weirdly, when I run the build command. It makes me sign into my Apple Developer account. Always.... It never used to do this, it would always remember my account. After downgrading to 3.13.1 the issue no longer happens and I am able to build the exact same directory without any issues. It seems to be with 3.13.2 Also, if I removed that specific PNG, it builds just fine.
What actually happened when you performed the above actions?
```
Publishing to channel 'default'...
? Do you have access to the Apple Account that owns the app with the bundle identifier edu.fiu.moms-infants-healthy?
..............
Building iOS bundle
Building Android bundle
Analyzing assets
Uploading assets
Uploading /swipeup-gif.png
Request failed with status code 404
```
It’s being worked on. In the mean time, you should downgrade expo-cli
as per @iboy15 ’s comment.
Thanks for fielding this @wodin . Fix has been pushed!
1 Like
system
Closed
March 29, 2020, 10:24pm
13
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.