Deploy an Expo web project with continuous integration

I’m need to deploy an Expo web project with continuous integration via Github.

I’ve tried following the Expo docs: https://docs.expo.io/versions/v36.0.0/guides/deploying-websites/#netlify

If I use the default settings I get no error messages in the log, however the deployed site just has this message:

Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.

I tried chancing the base directory to web-build and redeploying, and now the deploy fails with this in the logs:

11:27:34 AM: Failing build: Failed to build site
11:27:34 AM: failed during stage ‘building site’: Deploy directory ‘web-build’ does not exist

I found a similar thread here: Trying to use continuous deployment for an expo project (web)

So does this mean I need to add expo-cli a dependancy in my project?

Hi,

I was facing the same issue, described here: Trying to use continuous deployment for an expo project (web)

Yes, thanks to @perry, I’ve added expo-cli as a devDependencies and the it worked.

Expo docs would benefit from an update.

1 Like