Ionic lab doesn't work with ionic CLI 4.0.0

#1

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
#2

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
#3

Perfect. Thanks, works after installation.

2 Likes
#4

I installed it but the error is still here

#5

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

#6

Which errors you are getting?

#7

Thanks.

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

#8

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

#9

D’oh, ok sorry

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