Optimizing of ../priv/static/js/app.js failed. L12175:31 SyntaxError: Unexpected token: operator (>)
English3000 opened this issue · comments
English3000 commented
Able to build this project (that uses react-native-web
) in dev.
But when I run yarn deploy
, I get the entitled error.
Looked around online to no avail...
OK, ran PORT=4000 MIX_ENV=prod mix phx.server
and my app was working fine (NOT getting the error from the Phoenix deploy guide).
So any idea why I'm getting 404
s for all static assets when I actually deploy? My assumption is because of this build error...
Paul Miller commented
shitty error — sorry bro