create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

On MacOS I'm getting "warning react-scripts > [email protected]: Please update: there are crash fixes"

Open tobireif opened this issue 7 years ago • 17 comments

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 😀

tobireif avatar Jun 12 '19 10:06 tobireif

I'm having the same issue here 😢

gersongams avatar Jun 12 '19 15:06 gersongams

I am getting this error on my Windows 10 Machine as well, right now ignoring it.

Aditya-Ace avatar Jun 13 '19 05:06 Aditya-Ace

I have the same problem

vacrozet avatar Jun 15 '19 10:06 vacrozet

On Ubuntu 18.04 too

napestershine avatar Jun 15 '19 15:06 napestershine

Same issue

vinhlh avatar Jun 17 '19 15:06 vinhlh

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

r742davis avatar Jun 20 '19 22:06 r742davis

Same issue with Windows 10... CRA was installed globally with Yarn

BlaineBradbury avatar Jun 21 '19 16:06 BlaineBradbury

Someone have a solution? Same issue with MacOs...

guinogueiras avatar Jun 21 '19 17:06 guinogueiras

@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.

tobireif avatar Jun 23 '19 16:06 tobireif

Same issue on MacOS. Ran npx create-react-app

krish-penumarty avatar Jul 02 '19 17:07 krish-penumarty

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)

krish-penumarty avatar Jul 02 '19 20:07 krish-penumarty

I am also getting the same warning

vivek-regmi-au5 avatar Jul 06 '19 05:07 vivek-regmi-au5

This will be fixed in the next release, see #7131

rifelpet avatar Jul 06 '19 18:07 rifelpet

I am facing the same issue on windows too.

swapnil8074 avatar Jul 11 '19 11:07 swapnil8074

I have the same problem. Hope it gets fixed soon.

devyanshsriv avatar Jul 25 '19 09:07 devyanshsriv

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! 🙏

sesam avatar Jul 25 '19 10:07 sesam

On Windows 8.1 the same warning.

emmeiwhite avatar Jul 28 '19 14:07 emmeiwhite