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
The problem was repeated again . To solve it I just go to brew website and copy the installer code /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
then everything works again