DEV Community

Karthik
Karthik

Posted on

First build and publish Nx expo app

As you embark on your Expo journey, ensuring a smooth build process is crucial. Here's a step-by-step guide to performing the initial build:

Step 1: First Build and Publish

  1. Open VSCode and Navigate to Project Folder:
    Open Visual Studio Code (VSCode) and navigate to the project folder containing your Expo application.

  2. Run eas login as Admin User:
    Open the terminal in VSCode and execute the eas login command. Log in using the admin user credentials. This will authenticate your Expo account for the build process.

  3. Run npx nx affected -t build:
    Execute the command npx nx affected -t build in the terminal. Follow the interactive screen prompts and choose all default values unless specific configurations are required for your project.

  4. Complete the Build Process:
    Allow the build process to complete successfully. This step ensures that your Expo project is compiled and ready for publishing.

After this step a project with a successful build will be created in your Expo account. An apk/aab file will be created which is ready to be submitted to the app store.

Top comments (0)