facebook/watchman

Error from yarn gets written into plist

Closed this issue · 0 comments

estk commented

I installed watchman for the first time on an m1 mac. I was trying to debug why the watchman service was not populating in launchctl list, when I went to look at the plist, I found the following. When the obvious error was removed and launchctl loaded, watchman service online.

    <dict>
        <key>PATH</key>
        <string>�[31m�[1mUsage Error�[22m�[39m: No project found in /Users/estk

�[1m$ �[22myarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin: etc etc</string>
    </dict>