There was a national referendum before the Lisbon treaties that was declined by the Netherlands and France, which in turn "watered down" the EU constitution into the Lisbon treaties which are now in use, which were then ratified without any national votes.
As the German politician Martin Scholz once said, if the EU were to apply for an EU membership, it would get declined because of a lack of a democratic foundation.