# How to create an Expo app with serverless

**URL:** <https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515>\
**Category:** Chapter Comments\
**Created:** [November 5, 2021, 9:53pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515 "2021-11-05T21:53:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [November 5, 2021, 9:53pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/1 "2021-11-05T21:53:17Z")

</div>

Link to chapter — [https://serverless-stack.com/examples/how-to-create-an-expo-app-with-serverless.html](https://serverless-stack.com/examples/how-to-create-an-expo-app-with-serverless.html)

---

<div class="post-metadata">

**Author:** ![jpmaff](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jpmaff](https://discourse.sst.dev/u/jpmaff)\
**Post date:** [July 5, 2022, 11:24pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/2 "2022-07-05T23:24:46Z")

</div>

This tutorial was great! Just one problem: I successfully deployed to prod but when I execute the command for the prod cli (`npx sst console --stage prod`) it looks like I need to specify a port somehow? This is what’s returned: `SST Console: https://console.sst.dev/serverless-backend/prod/stacks?_port=undefined`.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [July 7, 2022, 11:00pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/3 "2022-07-07T23:00:06Z")

</div>

Oh good catch. We just rolled out a fix for it in:

> **[Release v1.3.0 · serverless-stack/sst](https://github.com/serverless-stack/sst/releases/tag/v1.3.0)**
>
> Changes
> 
> \#1871 d3c30eb5b - Auth: make "attachPermissionsToAuthUsers" take scope to control stack dependencies when referening resources from another stack
> 430549cc8 - sst console: fix undefined por...

---

<div class="post-metadata">

**Author:** ![jpmaff](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jpmaff](https://discourse.sst.dev/u/jpmaff)\
**Post date:** [July 8, 2022, 6:01pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/4 "2022-07-08T18:01:42Z")

</div>

I’m having an issue with the `sst remove` command - not just here but with the notes demo app in the guide. I run the command and everything goes off without a hitch. Then, without changing anything else, I try to rebuild it with `sst start`. The command executes, building the app just as you would expect until it gets to the step where it attempts to create the Dynamo DB at which point I get this error:

 ![Screen Shot 2022-07-08 at 10.59.05 AM](https://canada1.discourse-cdn.com/flex032/uploads/serverless_stack/original/2X/9/9d096571b1cae332c6d42d3b955ac957bef750b3.jpeg)  
This is especially strange because when I log into the aws console and view my dynamo db tables I can see that I don’t have any. I even checked via the aws cli with `aws dynamodb list-tables` and I don’t have _any_ tables.

---

<div class="post-metadata">

**Author:** ![jpmaff](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jpmaff](https://discourse.sst.dev/u/jpmaff)\
**Post date:** [July 8, 2022, 7:43pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/6 "2022-07-08T19:43:04Z")

</div>

Following up on this post. Turns out, my aws-cli and console had different default regions set from what is specified in my sst.json. Once I synced my aws cli to the right region via aws configure set default.region us-east-1 and used the `aws dynamodb list-tables` I was able to see all the tables generated through sst. However, even after setting the region, when I run `sst remove` I still hit the same error. I had to manually use the aws cli to delete the offending table: `aws dynamodb delete-table --table-name dev-notes-Notes`.

---

<div class="post-metadata">

**Author:** ![eedeebee](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/eedeebee/32/1516_2.png) [@eedeebee](https://discourse.sst.dev/u/eedeebee)\
**Post date:** [January 18, 2024, 6:38pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/7 "2024-01-18T18:38:23Z")

</div>

Is there anything in this example or SST in general that would make working with Expo over just plain React Native better/easier?

---

<div class="post-metadata">

**Author:** ![lacruzanthony](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/lacruzanthony/32/1529_2.png) [@lacruzanthony](https://discourse.sst.dev/u/lacruzanthony)\
**Post date:** [March 3, 2024, 11:59pm UTC](https://discourse.sst.dev/t/how-to-create-an-expo-app-with-serverless/2515/8 "2024-03-03T23:59:00Z")

</div>

Hey guys! I’ve trying to create a Expo app but my SST console is looking like this:

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/serverless_stack/original/2X/8/890fe933bf53c32eb1cf283c8c190ac649a04cce.png)  
Furthermore, if I try to run the frontend I’m seeing this error on my web:  
ConfigError: Cannot resolve entry file: The `main` field defined in your `package.json` points to an unresolvable or non-existent path.

I now the example use expo start --android but I’m trying to run it on web as well.

Thank you.
