I get this right after I login to Luci interface. Not sure what went wrong
As found in other thread you can re-flash sysupgrade to same version via deep link
https://openwrt.lan/cgi-bin/luci/admin/system/flash
https://192.168.1.1/cgi-bin/luci/admin/system/flash
Or add back luci-compat via ssh
Or if you have time you may try to identify culprit package that uninstalls dirty.
Thanks to @pxzpwfwmyr
It occurred to me, happens as though the https://openwrt.org/packages/pkgdata/luci-app-openvpn package in particular, has luci-compat labeled as a dependency so I believe that may be the package, otherwise I only uninstalled 2 other packages directly openvpn-openssl
and openvpn-easy-rsa