Closed
Description
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes, on OSX Sierra.
Description
create-react-app test
cd test/
yarn add eslint
yarn start
Expected behavior
Should compile successfully.
Actual behavior
yarn start
failed to compile, showing error: propTypes is not defined
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected):
[email protected] /Users/dinhquangtrung/Desktop/test
└── [email protected]
node -v
:
v8.1.0
npm -v
:
5.0.3
Then, specify:
- Operating system: OSX Sierra
- Browser and version: (any)
Reproducible Demo
Repo: https://github.com/trungdq88/create-react-app-issue
Travis Build: https://travis-ci.org/trungdq88/create-react-app-issue/builds/242429125
Metadata
Metadata
Assignees
Labels
No labels