Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

travis build fails with missing module error #55

@jspaaks

Description

@jspaaks

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

(Also verified that node 7 didn't break)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions