"Failed to load resource..." error with ionic lab 1.0.8

When I create a new brand app with these commands:

ionic start mytest
npm i -D -E @ionic/lab

and then execute the command “ionic serve -lcs” Chrome opens a black page and in the Console I can see this error:

8200/build/ionlab/ionlab.jj6xgakd.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

If I downgrade ionic lab from the version 1.0.8 to to the version 1.0.1 it works well.
Is there a bug in this version of ionic lab?

>ionic info
√ Gathering environment info - done!

Ionic:
   ionic (Ionic CLI)  : 4.1.1 (C:\Users\claudio\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.11

Cordova:
   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.0, (and 7 other plugins)

System:
   Android SDK Tools : 26.1.1 (C:\Users\claudio\AppData\Local\Android\Sdk)
   NodeJS            : v8.11.4 (C:\Program Files\nodejs\node.exe)
   npm               : 6.4.0
   OS                : Windows 10

Thank you

cld

Creating a new project with “ionic start” I can see that now the versio 1.0.9 of ionic lab is used.
But the problem still remains.

ionic serve -cs works
ionic serve -lcs gives the error:
Failed to load resource: :8200/build/ionlab/ionlab.jj6xgakd.js:1 the server responded with a status of 404 (Not Found)

I no longer have this problem with @ionic/lab 1.0.11

I’ve had the same problem with other versions of @ionic/lab so now I’ve understood that to solve the problem you need to clear the cache of the browser when a new version of @ionic/lab is installed.

1 Like

Good jobs thanks for your help