The default kernels that are shipped with Ubuntu should include squashfs. Therefore, it is likely that your installation is running a non-standard kernel. You will need to get the system to use a kernel with squashfs built-in (a loadable module might be sufficient, but I’m not sure on that) to be able to use Snaps.