Looks like @ionic/lab isn't installed in my project

Hello everyone,

I’m Phil and this is my first time trying ionic. I can’t make it to work and it’s been more than 2 week already trying to run it so I think it’s time to look for some help.

No matter what I do if I try

ionic server --lab

I got this

[INFO] Looks like @ionic/lab isn't installed in this project.
       
       This package is required for this command to work properly. The package provides a CLI utility, but the ionic-lab
       binary was not found in your PATH.

? Install @ionic/lab?

Even @ionic/lab@3.1.7 is actually installed. If I try saying yes I got a final error;

[ERROR] ionic-lab command not found.

And that is it, I can not run the lab.
Here some info of my system:

Angular CLI: 10.0.3
Node: 14.0.0
OS: linux x64

Angular: 10.0.4

ionic --version 5.4.16

@angular-devkit/architect         0.1000.3
@angular-devkit/build-angular     0.1000.3
@angular-devkit/build-optimizer   0.1000.3
@angular-devkit/build-webpack     0.1000.3
@angular-devkit/core              9.1.11
@angular-devkit/schematics        9.1.11
@angular/cli                      10.0.3
@ngtools/webpack                  10.0.3
@schematics/angular               9.1.11
@schematics/update                0.1000.3
rxjs                              6.6.0
typescript                        3.9.2
webpack                           4.43.0

Thanks a lot for real.

May I insist guys? I have no place to go at this point.

ionic serve --lab
> ng run app:serve --host=localhost --port=8101
[ng] Compiling @ionic-native/core : module as esm5
[ng] Compiling @angular/core : es2015 as esm2015
[ng] Compiling @angular/compiler/testing : es2015 as esm2015
[ng] Compiling @angular/core/testing : es2015 as esm2015
[ng] Compiling @ionic-native/splash-screen : module as esm5
[ng] Compiling @angular/common : es2015 as esm2015
[ng] Compiling @ionic-native/status-bar : module as esm5
[ng] Compiling @angular/platform-browser : es2015 as esm2015
[ng] Compiling @angular/router : es2015 as esm2015
[ng] Compiling @angular/common/http : es2015 as esm2015
[ng] Compiling @angular/platform-browser/testing : es2015 as esm2015
[ng] Compiling @angular/platform-browser-dynamic : es2015 as esm2015
[ng] Compiling @angular/common/http/testing : es2015 as esm2015
[ng] Compiling @angular/common/testing : es2015 as esm2015
[ng] Compiling @angular/forms : es2015 as esm2015
[ng] Compiling @angular/router/testing : es2015 as esm2015
[ng] Compiling @ionic/angular : es2015 as esm2015
[ng] Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
[ng] chunk {} 0.js, 0.js.map () 31.1 kB  [rendered]
[ng] chunk {common} common.js, common.js.map (common) 14.7 kB  [rendered]
[ng] chunk {focus-visible-15ada7f7-js} focus-visible-15ada7f7-js.js, focus-visible-15ada7f7-js.js.map (focus-visible-15ada7f7-js) 2.11 kB  [rendered]
[ng] chunk {folder-folder-module} folder-folder-module.js, folder-folder-module.js.map (folder-folder-module) 9.74 kB  [rendered]
[ng] chunk {input-shims-d4609e0d-js} input-shims-d4609e0d-js.js, input-shims-d4609e0d-js.js.map (input-shims-d4609e0d-js) 15.3 kB  [rendered]
[ng] chunk {keyboard-a2b5e51d-js} keyboard-a2b5e51d-js.js, keyboard-a2b5e51d-js.js.map (keyboard-a2b5e51d-js) 7.28 kB  [rendered]
[ng] chunk {main} main.js, main.js.map (main) 35 kB [initial] [rendered]
[ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 268 kB [initial] [rendered]
[ng] chunk {polyfills-core-js} polyfills-core-js.js, polyfills-core-js.js.map (polyfills-core-js) 78.7 kB  [rendered]
[ng] chunk {polyfills-css-shim} polyfills-css-shim.js, polyfills-css-shim.js.map (polyfills-css-shim) 10.5 kB  [rendered]
[ng] chunk {polyfills-dom} polyfills-dom.js, polyfills-dom.js.map (polyfills-dom) 38.5 kB  [rendered]
[ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 9.54 kB [entry] [rendered]
[ng] chunk {shadow-css-7f9c6860-js} shadow-css-7f9c6860-js.js, shadow-css-7f9c6860-js.js.map (shadow-css-7f9c6860-js) 15.9 kB  [rendered]
[ng] chunk {status-tap-171795fe-js} status-tap-171795fe-js.js, status-tap-171795fe-js.js.map (status-tap-171795fe-js) 1.6 kB  [rendered]
[ng] chunk {styles} styles.js, styles.js.map (styles) 99.6 kB [initial] [rendered]
[ng] chunk {swipe-back-0a6a44c8-js} swipe-back-0a6a44c8-js.js, swipe-back-0a6a44c8-js.js.map (swipe-back-0a6a44c8-js) 3.05 kB  [rendered]
[ng] chunk {swiper-bundle-95afeea2-js} swiper-bundle-95afeea2-js.js, swiper-bundle-95afeea2-js.js.map (swiper-bundle-95afeea2-js) 200 kB  [rendered]
[ng] chunk {tap-click-252af35a-js} tap-click-252af35a-js.js, tap-click-252af35a-js.js.map (tap-click-252af35a-js) 6.22 kB  [rendered]
[ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 5.15 MB [initial] [rendered]
[ng] Date: 2020-07-20T01:07:59.998Z - Hash: efc1a326c7791c3be507 - Time: 29679ms
[ng] WARNING in /home/phglz/Desktop/U/Multiplatform Mobile App Development with Web Technologies: Ionic and Cordova/conFusion/src/test.ts is part of the TypeScript compilation but it's unused.
[ng] Add only entry points to the 'files' or 'include' properties in your tsconfig.
[ng] WARNING in /home/phglz/Desktop/U/Multiplatform Mobile App Development with Web Technologies: Ionic and Cordova/conFusion/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
[ng] Add only entry points to the 'files' or 'include' properties in your tsconfig.
[INFO] ... and 76 additional chunks
[ng] : Compiled successfully.
> ionic-lab http://localhost:8101 --host localhost --port 8200 --project-type angular --app-name conFusion --app-version 0.0.1

[INFO] Looks like @ionic/lab isn't installed in this project.
       
       This package is required for this command to work properly. The package provides a CLI utility, but the ionic-lab
       binary was not found in your PATH.

? Install @ionic/lab? Yes
> npm i -D -E @ionic/lab
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ @ionic/lab@3.1.7
added 65 packages from 15 contributors, removed 1 package and audited 1553 packages in 35.631s

59 packages are looking for funding
  run `npm fund` for details

found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
> ionic-lab http://localhost:8101 --host localhost --port 8200 --project-type angular --app-name conFusion --app-version 0.0.1
[ERROR] ionic-lab command not found.

I haven’t used ionic lab in a while. and not sure if its being maintained still but Is it even necessary to use Ionic lab? There are other ways to test the app on multiple devices.

Say no more thank you my friend.