I am trying to create a new react.js project with create-react-app. When I execute yarn start, the development server doesn't start and the console gives me this message :
Starting the development server...
dyld: lazy symbol binding failed: Symbol not found: _FSEventStreamCreate
Referenced from: /Users/username/project/node_modules/fsevents/build/Release/fse.node
Expected in: flat namespace
dyld: Symbol not found: _FSEventStreamCreate
Referenced from: /Users/username/project/node_modules/fsevents/build/Release/fse.node
Expected in: flat namespace
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
That happens with the newly created react.js project, not with the older ones.
I install and reinstall node.js with brew install node, I also reinstall create-react-app, but nothing happens.
Information about my environment :
Thanks in advance for a perfect answer
Deleting the fsevents folder/folders inside. 'node_modules' worked for me on MacOS Mojave. If after deleting one fsevent directory , it still fails , then delete the fsevents folder in the current path shown in the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With