Netplan throws an error when attempting to load a config file, provides no details about what the error is

Solution 1:

netplan is VERY fussy about .yaml file formatting. No tabs, specific indentation, and no extra spaces. Your .yaml looks ok syntactically, but try this variation...

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
      dhcp4: true

sudo netplan generate # generate config files

sudo netplan apply # apply config

reboot # reboot the computer