We ran a CI=1 yarn run e2e locally, which ran fine. However that was with node v.7, while Travis is using 4.8.1. So:
#locally:
nvm install 4.8.1
nvm use 4.8.1
npm install -g yarn
rm -rf node_modules
rm -rf packages/babel-preset-react-app/node_modules
rm -rf packages/create-react-app/node_modules
rm -rf packages/eslint-config-react-app/node_modules
rm -rf packages/react-dev-utils/node_modules
rm -rf packages/react-scripts/node_modules
rm -rf packages/tslint-config-react-app/node_modules
yarn cache clean
CI=1 yarn run e2e
# (verify that you get the same error)
cd packages/react-scripts/
npm install glob-all --save
cd ../..
CI=1 yarn run e2e
# still gives error, but different package, jest-util
cd packages/react-scripts/
npm install jest-util --save
cd ../..
CI=1 yarn run e2e
# exits with code 0
We ran a
CI=1 yarn run e2e
locally, which ran fine. However that was with node v.7, while Travis is using 4.8.1. So:(Also verified that node 7 didn't break)