Yes,
needs to be installed in your project.
(Also mentioned in https://github.com/ionic-team/ionic-cli/blob/master/packages/ionic/CHANGELOG.md#4.0.0 which is linked in the error message you posted above)
npm install @ionic/lab
should take care of it.