Coder Social home page Coder Social logo

Comments (9)

szdziedzic avatar szdziedzic commented on June 26, 2024

You use the latest EAS CLI version, right?

from eas-cli.

Noxel avatar Noxel commented on June 26, 2024

You use the latest EAS CLI version, right?

The latest EAS CLI with npx

from eas-cli.

szdziedzic avatar szdziedzic commented on June 26, 2024

Interesting, I can't see anything super helpful in our internal logs. Can you show me what your eas.json looks like?

from eas-cli.

szdziedzic avatar szdziedzic commented on June 26, 2024

What has changed in your project between the moment you created the last successful build and now? It might be helpful context for me.

from eas-cli.

Noxel avatar Noxel commented on June 26, 2024

Here's my eas.json :

  "build": {
    "prod": {
      "android": {
        "image": "latest",
        "env": {
          "REACT_NATIVE_API_URL": "URL",
          "REACT_NATIVE_PUBLIC_URL": "URL",
          "REACT_NATIVE_BUILD_PROFILE": "prod"
        }
      },
      "ios": {
        "env": {
          "REACT_NATIVE_API_URL": "URL",
          "REACT_NATIVE_PUBLIC_URL": "URL"
        }
      },
      "credentialsSource": "local"
    },
    "pp": {
      "android": {
        "image": "latest",
        "env": {
          "REACT_NATIVE_API_URL": "URL",
          "REACT_NATIVE_PUBLIC_URL": "URL"
        },
        "buildType": "apk"
      },
      "ios": {
        "env": {
          "REACT_NATIVE_API_URL": "URL",
          "REACT_NATIVE_PUBLIC_URL": "URL"
        }
      },
      "credentialsSource": "local",
      "distribution": "internal"
    },
    "test": {
      "android": {
        "image": "latest",
        "env": {
          "REACT_NATIVE_API_URL": "URL",
          "REACT_NATIVE_PUBLIC_URL": "URL"
        },
        "buildType": "apk"
      },
      "ios": {
        "env": {
          "REACT_NATIVE_API_URL": "URL",
          "REACT_NATIVE_PUBLIC_URL": "URL"
        }
      },
      "credentialsSource": "local",
      "distribution": "internal"
    }
  }
}

Last successful build was Jan 11, 2024 10:55 AM.
First build request failed was Apr 2, 2024 12:10 PM.

I have adding react-native-date-picker and its implementation, i previously was using @react-native-community/datetimepicker.

from eas-cli.

szdziedzic avatar szdziedzic commented on June 26, 2024

Hi there @Noxel,

I think I know what's wrong. It seems like you have a disallowed unicode character in the build job's node version value. There are 2 ways to set the node value:

  1. directly in eas.json by using the node field
  2. by having a .nvmrc file in your project dir (we read the version from there by default)

Do you use any of these by any chance?

Removing this character should solve the issue. I will try to make the error message better as a follow-up. We validate the build job in EAS CLI before sending it to EAS servers, so I'm confused why your node version passed the validation.

image

from eas-cli.

Noxel avatar Noxel commented on June 26, 2024

Hi @szdziedzic,

Unfortunately we don't use any of these, i try to affect a value to the node field directly in eas.json but it doesn't change the outcome of the build request.

In fact we use the version 18 of node for our pipeline, so I don't know where the buildEnvironment took this version fo node.

How can we detect some false information in the build job send to EAS ?

from eas-cli.

wodin avatar wodin commented on June 26, 2024

@Noxel what do you get if you run the command shown here to see what will get uploaded to the build servers:
https://github.com/expo/fyi/blob/main/eas-build-archive.md#what-files-are-included-in-the-archive

Then search in those files for 20.9?

e.g. grep -rl '20\.9' ~/target/output/path

from eas-cli.

Noxel avatar Noxel commented on June 26, 2024

Hi @wodin sorry for the late response.
I did search for 20.9 in my local and when the pipeline executes eas build but couldn't find anything.

from eas-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.