Crontab editor not set out of the box

When trying to edit crontab with

crontab -e

i get

no crontab for danizmax - using an empty one
/bin/sh: line 1: /usr/bin/vi: No such file or directory
crontab: "/usr/bin/vi" exited with status 127

solution:

export EDITOR=nano

IMHO this variable should be set out of the box.