Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fork-ts-checker-webpack-plugin incompatible with Yarn #7514

Closed
8ctopotamus opened this issue Aug 12, 2019 · 2 comments
Closed

fork-ts-checker-webpack-plugin incompatible with Yarn #7514

8ctopotamus opened this issue Aug 12, 2019 · 2 comments

Comments

@8ctopotamus
Copy link

8ctopotamus commented Aug 12, 2019

OS: Windows 10
Node version: 12.4.0
Create-react-app version: 3.1.0

I cannot create a new react app. I get the following output in my console after running create-react-app test:

Creating a new React app in C:\Users\username\desktop\test.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

yarn add v0.24.5
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.2.9: The platform "win32" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
warning fsevents@2.0.7: The platform "win32" is incompatible with this module.
info "fsevents@2.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
error fork-ts-checker-webpack-plugin@1.5.0: The engine "yarn" is incompatible with this module. Expected version ">=1.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts --cwd C:\Users\username\desktop\test has failed.

Deleting generated file... package.json
Deleting generated file... yarn.lock
Deleting test/ from C:\Users\username\desktop
Done.
@8ctopotamus
Copy link
Author

Updating to latest version of Yarn fixed it.
npm i -g yarn

@RoshanLakmal
Copy link

Uninstalling yarn solve the issue.
sudo rm -rf /usr/local/Cellar/yarn/0.20.3

@lock lock bot locked and limited conversation to collaborators Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants