Ionic lab doesn't work with ionic CLI 4.0.0

Just updated the Ionic CLI from 3.20.0 to 4.0.0. Now ionic lab doesn’t work anymore. Here is the message I get:

[INFO] Looks like @ionic/lab isn't installed in this project.

       This package is required for Ionic Lab. For more details, please see the CHANGELOG:

[ERROR] A utility CLI has unexpectedly closed.

        The Ionic CLI will exit. Please check any output above for error details.

Is there anything to be installed?

1 Like


needs to be installed in your project.
(Also mentioned in which is linked in the error message you posted above)

npm install @ionic/lab should take care of it.


Perfect. Thanks, works after installation.


I installed it but the error is still here

Thank you for help & forum discussion, It’s solved the issue.

Which errors you are getting?


Why this doesn’t appears in the CLI info? it’s annoying

Huh? It says so right there in the error message:

D’oh, ok sorry