title: Deploying Expo React Native Web to Amplify
body: <p>I'm trying to deploy a static react-native application to AWS Amplify using an expo build. Every time I create a build it errors out with this error:</p>
  <pre><code>Node.js v10.16.0 is no longer supported.
                                      expo-cli supports following Node.js versions:
                                      * &gt;=12.13.0 &lt;13.0.0 (Maintenance LTS)
                                      * &gt;=14.0.0 &lt;15.0.0 (Active LTS)
                                      * &gt;=15.0.0 &lt;17.0.0 (Current Release)
  </code></pre>
  <p>It looks like earlier before this error this command is ran:</p>
  <pre><code>Executing command: nvm use 10
  </code></pre>
  <p>My local version of Node is 16.8 where I developed the app and my expo is the latest version. Why is that command running &quot;nvm use 10&quot; and how do I change it to the correct node version.</p>
  <p>This is my YAML file:</p>
  <pre><code>version: 1.0
  frontend:
    phases:
      preBuild:
        commands:
          - npm install --quiet --global expo-cli
          - &gt;
            if [ -f yarn.lock ]; then
              yarn
            elif [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ]; then
              npm ci
            else
              npm install
            fi
      build:
        commands:
          - expo build:web
    artifacts:
      baseDirectory: web-build
      files:
        - &quot;**/*&quot;
    cache:
      paths:
        - node_modules/**/*
        - $(npm root --global)/**/*
  </code></pre>