0
When trying to run the app with Ionic serves this giving the following error:
> ionic-hello-world@ ionic:serve D:\www\mobile\app
> ionic-app-scripts serve "--v2" "undefined" "--address" "0.0.0.0" "--port" "810
0" "--livereload-port" "35729"
[23:00:51] ionic-app-scripts 1.1.0
[23:00:51] watch started ...
[23:00:51] build dev started ...
[23:00:51] clean started ...
[23:00:51] clean finished in less than 1 ms
[23:00:51] copy started ...
[23:00:51] transpile started ...
[23:00:57] transpile finished in 6.60 s
[23:00:57] preprocess started ...
[23:00:57] preprocess finished in less than 1 ms
[23:00:57] webpack started ...
[23:00:58] copy finished in 7.13 s
[23:01:05] webpack finished in 8.09 s
[23:01:05] sass started ...
[23:01:07] sass finished in 1.15 s
[23:01:07] postprocess started ...
[23:01:07] postprocess finished in 1 ms
[23:01:07] lint started ...
[23:01:07] build dev finished in 16.03 s
[23:01:10] watch failed: A watch configured to watch the following paths failed
to start. It likely that a file
referenced does not exist: D:\www\mobile\app\src\**\*.(ts|html|s(c|a
)ss)
[23:01:10] dev server running: http://localhost:8100/
[23:01:16] lint finished in 9.63 s
Error:
[23:01:10] watch failed: A watch configured to watch the following paths failed to start. It likely that a file referenced does not exist: D: www mobile app src***. (ts|html|s(c|a )ss)
Try to add
"sw-toolbox": "3.4.0"
in the archivepackage.json
– viana
@Acklay gave the same thing.
– Chefe Druida
Using the right Cordova?! Try to restart Cordova!
– viana
@Acklay gave the same thing.
– Chefe Druida
I’m kicking some things just because it’s not possible to reproduce the mistake here. It’s really hard to know! Apparently, by error, says that there are no reference files in the directory D: www mobile app src .... there has to be a way to generate enough files to run the application.
– viana
This link https://github.com/ionic-team/ionic-app-scripts/issues/430 does exactly what I suggested in the first comment!
– viana
When the error occurs!?
– viana
It’s like that over there on the block, when you start the server,
– Chefe Druida