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

chokidar #2

Open
ChrisTsou opened this issue May 4, 2021 · 3 comments
Open

chokidar #2

ChrisTsou opened this issue May 4, 2021 · 3 comments

Comments

@ChrisTsou
Copy link

On my machine (arch wsl on windows) the app wouldn't start because it couldn't find the package "chokidar". which it didn't install properly with npm install because fs events dependency wouldn't install because in the packagelock file i had to change "os": "darwin" to "os": "linux" under node_modules/fsevents. I open this in case someone stumbles at the same problem.

@normanwilde
Copy link

Using Windows, I added "os": "win32" to make it work.

@abhishek-geek
Copy link

I'm using Ubuntu 20.04 and i can't start the app
Error: No version of chokidar is available. Tried chokidar@2 and chokidar@3. You could try to manually install any chokidar version. chokidar@3: Error: Cannot find module 'chokidar'
I also tried to change "os": "darvin" to "os": "linux"

@brianwachira
Copy link

You can check out more info about this problem here :
facebook/create-react-app#10811 (comment)

Anyway, Chockidar is a dependency inside webpack that takes care of hot reloads on the save on development environment.

Chokidar 2 has problems with node v14+.

For me, npm update did update webpack to use chockidar 3, hence solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants