Magento 2 Compile error: “No tokens were provided”

Magento 2 Compile error: “No tokens were provided” In Magento 2, when you run “setup:di:compile” you may get error message: “No tokens were provided” That error message is caused by an empty file. You can find it using command:

It usually comes from an…