Solution:
It seems like the new 2.9.2 release doesn’t have the required build folder. You can try fixing it by running this in the terminal:
dart pub global activate devtools -v 2.8.0
which downgrades the version to 2.8.0 (that works fine). Found answer onĀ github