Giter VIP home page Giter VIP logo

Comments (2)

cball avatar cball commented on June 11, 2024 1

Hey @evanb2! Appreciate the detail, and sorry you're having trouble with it. We're using the following executors in a recent project and things seem to be working ok:

executors:
  node:
    docker:
      - image: circleci/node:10.16.0-stretch
        environment:
          TERM: xterm
  android:
    docker:
      - image: circleci/android:api-28-node
    environment:
      - _JAVA_OPTIONS: '-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap'
      - GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError"'
      - BUILD_THREADS: 2
      - FL_OUTPUT_DIR: output
  ios:
    macos:
      xcode: 11.3.1
    shell: /bin/bash --login -o pipefail
    resource_class: 'medium'

We'll take a look into this.

from circleci-react-native-orb.

evanb2 avatar evanb2 commented on June 11, 2024

Looks like specifying node v10.11.0 also fixes the issue. Although the only way I was able to get that to work with the react-native/ios job was by doing:

pre_build:
    - run:
        name: Force specific nodejs version
        command: |
            export NODE_VERSION=$(cat .nvmrc)
            curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash -s -- --no-use
            echo 'export NVM_DIR=$HOME/.nvm' >> $BASH_ENV
            echo 'source $NVM_DIR/nvm.sh' >> $BASH_ENV
            echo 'nvm install v10.11.0' >> $BASH_ENV
            echo 'nvm alias default v10.11.0' >> $BASH_ENV
            rm -rf node_modules
            yarn install

I tried overriding the react-native/node executor but it didn't work:

- react-native/node:
    name: node
    custom_executor:
        name: react-native/node
        version: '10.11.0'

from circleci-react-native-orb.

Related Issues (5)

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.