react-scripts pins fsevents to a version too old for Node 10
Created by: Jessidhia
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes. I have also attempted working around it with a yarn resolutions
field, but it seems yarn resolutions
turn optional dependencies into required dependencies.
Which terms did you search for in User Guide?
fsevents
Environment
Environment:
OS: macOS 10.14
Node: 10.5.0
Yarn: 1.9.2
npm: 6.1.0
Watchman: Not Found
Xcode: Xcode 10.0 Build version 10L201y
Android Studio: Not Found
Packages: (wanted => installed)
react: ^16.3.1 => 16.4.1
react-dom: ^16.3.1 => 16.4.1
react-scripts: 2.0.0-next.3e165448 => 2.0.0-next.3e165448
Steps to Reproduce
(Write your steps here:)
- Use node >= 10.4.1 on macOS
- Create a new project with
create-react-app
-
https://github.com/strongloop/fsevents/issues/226 happens during
yarn install
Expected Behavior
No build errors
Actual Behavior
Huge build error that is elaborated upon on https://github.com/strongloop/fsevents/issues/226
Updating fsevents to 1.2.4
, or to a caret version (^1.2.4
) is sufficient to avoid the build error.