On MacOS, when running npx create-react-app foo I'm getting
warning react-scripts > [email protected]: Please update: there are crash fixes
warning "react-scripts > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@*".
warning "react-scripts > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@*".
warning "react-scripts > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@*".
warning "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev".
There probably are various options of resolving this, and also it seems the warnings can be ignored, but it would be nice if the create-react-app command would run cleanly 馃榾
I'm having the same issue here 馃槩
I am getting this error on my Windows 10 Machine as well, right now ignoring it.
I have the same problem
On Ubuntu 18.04 too
Same issue
I'm having the same issue. After running create-react-app, try running npm i fsevents in order to update the package. I was having issues where the React app wouldn't even run on my local server using npm start
Same issue with Windows 10... CRA was installed globally with Yarn
Someone have a solution? Same issue with MacOs...
@r742davis As I wrote in the original report: There probably are various options of resolving this ... but it would be nice if the create-react-app command would run cleanly.
Same issue on MacOS. Ran npx create-react-app
Also, I am trying to validate if these issues are a the reason for a different issue I have. I have incorporated husky to run lint-staged to run eslint. This is the error I keep running during pre-commit stage.
Error: Cannot find module 'typescript'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (<path>/node_modules/@typescript-eslint/typescript-estree/dist/tsconfig-parser.js:7:38)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
I am also getting the same warning
This will be fixed in the next release, see #7131
I am facing the same issue on windows too.
I have the same problem. Hope it gets fixed soon.
So, the pasted is a warning. Ideally, create-react-app would come out with an update that fixes this. Searching, the first https://github.com/facebook/create-react-app/pulls?utf8=%E2%9C%93&q=is%3Apr+fsevents hit is a fix that has been merged. So we're probably just waiting for a new release of CRA. Release early, release often! 馃檹
On Windows 8.1 the same warning.
Most helpful comment
This will be fixed in the next release, see #7131