[ERROR] A utility CLI has unexpectedly closed (exit code 1)

#1

When I am run ionic serve show this error:

D:\MyProject>ionic serve
> ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] [20:30:08]  ionic-app-scripts 3.1.11
[app-scripts] [20:30:08]  watch started ...
[app-scripts] [20:30:08]  build dev started ...
[app-scripts] [20:30:08]  clean started ...
[app-scripts] [20:30:08]  clean finished in less than 1 ms
[app-scripts] [20:30:08]  copy started ...
[app-scripts] [20:30:08]  deeplinks started ...
[app-scripts] [20:30:08]  ionic-app-script task: "serve"
[app-scripts] [20:30:08]  Error: There are multiple entries in the deeplink config with the name of SingleQerarPage
[app-scripts] Error: There are multiple entries in the deeplink config with the name of SingleQerarPage
[app-scripts]     at new BuildError (D:\EmekMecellesi\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
[app-scripts]     at D:\EmekMecellesi\node_modules\@ionic\app-scripts\dist\deep-linking.js:57:21
[app-scripts]     at <anonymous>

[ERROR] A utility CLI has unexpectedly closed (exit code 1).

        The Ionic CLI will exit. Please check any output above for error details.
events.js:165
      throw er; // Unhandled 'error' event
      ^

TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be one of type string or Buffer
    at validChunk (_stream_writable.js:257:10)
    at WriteStream.Writable.write (_stream_writable.js:292:21)
    at process.<anonymous> (C:\Users\TaGi-PC\AppData\Roaming\npm\node_modules\ionic\bin\ionic:9:63)
    at process.emit (events.js:180:13)
    at emitPromiseRejectionWarnings (internal/process/promises.js:102:20)
    at process._tickCallback (internal/process/next_tick.js:183:42)
Emitted 'error' event at:
    at validChunk (_stream_writable.js:261:12)
    at WriteStream.Writable.write (_stream_writable.js:292:21)
    [... lines matching original stack trace ...]
    at process._tickCallback (internal/process/next_tick.js:183:42)

My ionic info:

Ionic:

   ionic (Ionic CLI)  : 4.1.0 (C:\Users\TaGi-PC\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.0.1, (and 4 other plugins)

System:

   Android SDK Tools : 25.2.5
   NodeJS            : v9.11.1 (C:\Program Files\nodejs\node.exe)
   npm               : 5.6.0
   OS                : Windows 8.1

Environment:

   ANDROID_HOME : C:\Users\TaGi-PC\AppData\Local\Android\sdk
#2

This is your error you have to fix

2 Likes
#3

I check error page there is no problem.

#4

Sorry. It is my mistake
Thank you for support :slight_smile:

1 Like