I’ve received an error message like this several times while installing Debian using debootstrap. It turns out that there were some missing entries in /dev for some ttys. I only had /dev/tty and /dev/tty0. I also needed 1-6. The correct command to create a new one is:
mknod ttyX c 4 X
where X is replaced with 1-6, respectively.