facebook / facebook/watchman

Watchman fails in case of blank explo cli projects on Win10

Open
#1,035 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Expo cli with watchman was fully functional a week ago. Still works in case of older projects where node_modules already exists.
In order to duplicate the issue, simply generate a new project using expo cli as:

expo init TinderClone
cd .\TinderCone

expo start

Full log:
C:\React\ReactNative\TinderClone>expo start --web
Starting project at C:\React\ReactNative\TinderClone
Developer tools running on http://localhost:19002
Opening developer tools in the browser...
Starting Metro Bundler
C:\React\ReactNative\TinderClone\node_modules\metro-hermes-compiler\src\emhermesc.js:77
throw ex;
^

Error: connect ENOENT \\.\pipe\watchman-CsabaLegány
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
Emitted 'error' event on Client instance at:
at Socket. (C:\React\ReactNative\TinderClone\node_modules\fb-watchman\index.js:118:12)
at Socket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'connect',
address: '\\\\.\\pipe\\watchman-CsabaLegány'
}

Already tried node update to latest version, watchman reinstall, expo cli update to latest version etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.