I had the same issue and found out it was caused by a dependency conflict — in my case, it was the devtools dependency. After removing it, everything went back to working normally.