# macOS plan required for react-native?

**URL:** <https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127>\
**Category:** Build Environment\
**Tags:** react, nodejs, ios, circle-yml, android\
**Created:** [September 13, 2018, 7:37pm UTC](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127 "2018-09-13T19:37:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawidvdh](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/dawidvdh/32/19156_2.png) [@dawidvdh](https://discuss.circleci.com/u/dawidvdh)\
**Post date:** [September 13, 2018, 7:37pm UTC](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127/1 "2018-09-13T19:37:16Z")

</div>

I am trying to use circleci to test linting and flow on a react-native project which would require just a nodejs environment which as I understand is part of the free tier, however when trying to build I recieve the following error:

`Sorry! Your build didn't run because it looks like you haven't selected a macOS plan yet. If you have any questions, please feel free to contact us in support.`

However I am not using macOS at all, see config below:

```auto
# Javascript Node CircleCI 2.0 configuration file

version: 2
jobs:
  node:
    working_directory: ~/some-app

    docker:
      - image: circleci/node:8.9

    steps:
      - checkout

      - restore_cache:
          key: npm-v1-{{ checksum "package-lock.json" }}-{{ arch }}

      - restore_cache:
          key: node-v1-{{ checksum "package.json" }}-{{ arch }}

      - run: npm install

      - save_cache:
          key: npm-v1-{{ checksum "package-lock.json" }}-{{ arch }}
          paths:
            - ~/.cache/npm

      - save_cache:
          key: node-v1-{{ checksum "package.json" }}-{{ arch }}
          paths:
            - node_modules

      - run:
          name: linters
          command: |
            npm run lint
            npm run flow

      - persist_to_workspace:
          root: ~/some-app
          paths:
            - node_modules

workflows:
  version: 2
  node-android-ios:
    jobs:
      - node

```

So is macOS plan required for react-native regardless?

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [September 13, 2018, 8:56pm UTC](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127/2 "2018-09-13T20:56:05Z")

</div>

No, it should be fine on the Docker platform. Try removing the `workflows` section and renaming the job from `node` to `build`, just to simplify the config temporarily. I can’t see anything wrong with it.

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [September 15, 2018, 5:24pm UTC](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127/3 "2018-09-15T17:24:47Z")

</div>

I ran your config and it worked for me: [https://circleci.com/gh/felicianotech/cci-testing-pub/709](https://circleci.com/gh/felicianotech/cci-testing-pub/709)

There were some errors but that’s because I don’t have your project code, not due to the build environment. I’ll try `halfer`'s suggestion and if there’s still a problem, contact support.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [December 14, 2018, 5:24pm UTC](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127/4 "2018-12-14T17:24:56Z")

</div>

Closed on December 14, 2018, 5:24pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
