Revert "upgrade chokidar"

This reverts commit 0a70fcf2733b809f16dbea06cfb68344fc6104b4.
fix typo in error message in parsePrimary (fixed #297)