Skip to content

Make Circle run properly on 15-stable branch #8744

Closed

Description

@sophiebits

We're missing the .circle.yml config on our 15-stable branch. It would be great to copy it over and whatever other files need to be copied to make CI pass. Anyone should be able to test by sending a PR to 15-stable (unlike normal PRs which go to master) with the changes and seeing if Circle will pass. It might be as simple as just copying .circle.yml and scripts/circleci.

Activity

  1. gaearon commented on Jan 11, 2017

    @gaearon
    Collaborator

    Fingers crossed for #8745!

  2. jackjocross commented on Jan 11, 2017

    @jackjocross
    Contributor

    I was able to get CircleCI passing by copying circle.yml and scripts/circleci and making a few other tweaks. There also seemed to be some linting errors according to this build so I fixed those.

    One concern I had was adding jest-cli to devDependencies, but it was the only way I could fix this error:

    Error: Cannot find module '/home/ubuntu/react/node_modules/jest-cli'
        at Function.Module._resolveFilename (module.js:469:15)
        at Function.Module._load (module.js:417:25)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at getJest (/home/ubuntu/react/node_modules/jest/node_modules/jest-cli/build/cli/getJest.js:24:12)
        at Object.run (/home/ubuntu/react/node_modules/jest/node_modules/jest-cli/build/cli/index.js:40:3)
        at Object.<anonymous> (/home/ubuntu/react/node_modules/jest/node_modules/jest-cli/bin/jest.js:16:25)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
    

    It seems that somehow fs.existsSync is returning true but require isn't able to find the module in jest-cli. If anyone knows more about what is happening there that would be a huge help!

  3. rolfea commented on Jan 31, 2017

    @rolfea

    it looks like this got resolved, right?

  4. gaearon commented on Jan 31, 2017

    @gaearon
    Collaborator

    Yup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions