Estoy usando WSL Ubuntu para ejecutar un proyecto de relé de reacción, pero después de instalar Watchman usando brew e intentar ejecutar la aplicación en modo reloj, Watchman me da el siguiente error (he ejecutado el proyecto usando yarn start ):
Watchman error: The watchman server reported an error: "watchman::QueryExecError: query failed: synchronization failed: syncToNow: timed out waiting for cookie file to be observed by watcher within 60000 milliseconds: Connection timed out", while executing command: QueryRequest( "query", "/mnt/d/Work/Personal/react-relay-tutorial", QueryRequestCommon { glob: None, glob_noescape: false, glob_includedotfiles: false, path: Some( ...He estado intentando reinstalar Watchman sin brebaje, con brebaje, me sale el mismo error, nada en internet ayudó...
Mi archivo package.json:
... "scripts": { "start": "yarn run relay && react-scripts start", "build": "yarn run relay && react-scripts build", "relay": "yarn run relay-compiler --watch $@", "test": "react-scripts test", "eject": "react-scripts eject" }, "relay": { "src": "./src/", "schema": "./src/schema.graphql" }, ... "devDependencies": { "babel-plugin-relay": "^13.1.1", "graphql": "^16.3.0", "relay-compiler": "^13.1.1" } ...archivo relay.config.js
module.exports = { // ... // Configuration options accepted by the `relay-compiler` command-line tool and `babel-plugin-relay`. src: './src', schema: './src/schema.graphql', exclude: ['**/node_modules/**', '**/__mocks__/**', '**/__generated__/**'], };.babel.rc
{ "plugins": [ "relay" ] }PD: cuando se ejecuta el proyecto sin ningún vigilante, funciona bien