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:
       https://github.com/ionic-team/ionic-cli/blob/master/packages/ionic/CHANGELOG.md#4.0.0

[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

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.

3 Likes

Perfect. Thanks, works after installation.

2 Likes

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?

Thanks.

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

:sweat_smile::sweat_smile::sweat_smile::sweat_smile: