Closed
Description
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
- fsevents fails to build fsevents/fsevents#226 happens during
yarn install
Expected Behavior
No build errors
Actual Behavior
Huge build error that is elaborated upon on
fsevents/fsevents#226
Updating fsevents to 1.2.4
, or to a caret version (^1.2.4
) is sufficient to avoid the build error.
Metadata
Metadata
Assignees
Labels
No labels