Ionic serve --lab (BLACK PAGE) [-- IONIC 4 --]

Hello, i’m trying to use Ionic 4. When i typing “Ionic serve lab” and go to browser appear this:

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

Why? Thanks for the help!

Ionic:

ionic (Ionic CLI) : 4.6.0 (C:\Users\nicol\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.1
@angular-devkit/build-angular : 0.11.4
@angular-devkit/schematics : 7.1.4
@angular/cli : 7.1.4
@ionic/angular-toolkit : 1.2.2

System:

NodeJS : v11.6.0 (C:\Program Files\nodejs\node.exe)
npm : 6.5.0-next.0
OS : Windows 10

I am having the same issue. Any updates on it?
I started a brand new project, bare bones, and all I got is the same error.

If you have another Ionic project where “Serve --lab” works, you need to copy the folder “lab” to your new project it’s in “node_modules/@ionic”.

2 Likes

Thanks, bro.
It’s a nice workaround and fixed my issue!

1 Like

To build off of @JulioNicolasPapp 's response, if you don’t have an old project, you might be wondering how to fix it. The issue seems to be in the latest (at this time) version 1.0.24

From your project folder:

npm uninstall --save @ionic/lab

and then:

npm install --save @ionic/lab@1.0.19

This will get you back up and running

3 Likes