You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Circle run properly on 15-stable branch #8744
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.
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!
Activity
gaearon commentedon Jan 11, 2017
Fingers crossed for #8745!
jackjocross commentedon Jan 11, 2017
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-clito devDependencies, but it was the only way I could fix this error:It seems that somehow
fs.existsSyncis returning true butrequireisn't able to find the module in jest-cli. If anyone knows more about what is happening there that would be a huge help!rolfea commentedon Jan 31, 2017
it looks like this got resolved, right?
gaearon commentedon Jan 31, 2017
Yup!