In emacs 30.1 under windows 11, I installed the flycheck package. Following some instruction on the web, I added (add-hook 'after-init-hook #'global-flycheck-mode) to C:\Users\John\AppData\Roaming\Microsoft\Windows\Recent\.emacs but when I open emacs, I get the following errors below.
Following some other instructions I added
(use-package flycheck :ensure t :init (global-flycheck-mode)) but that didn't help. I have ChkTex v1.7.8 installed. What am I missing?

