0

Please or Register to create posts and topics.

QuickApp Pro ERROR : The NPM script 'start' exited without indicating that the Angular CLI was listening for requests

 I keep getting the error when I run the project on Visual Studio 2017
An unhandled exception occurred while processing the request.
AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! quickapp-pro@2.1.0 start: `concurrently --kill-others "ng serve" "npm run theme" "--port" "57232"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the quickapp-pro@2.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Attached is the error log. Any help is appreciated.

I have a same error with QuickApp.Pro. Has your problem been solved?

Hi. It’s a classic problem. Here’s how to fix it

1. Open a Powershell

2. Navigate to your ClientApp folder

3. Run “npm audit fix”

that should solve the issue

Had the same issues on QuickApp Standard. This is what I did following the above suggestion.

  1. Opened Command as Administrator (was getting permission issues)
  2. Navigated to your ClientApp folder
  3. Ran “npm install”
  4. Ran “npm audit fix” (found 1 high severity vulnerability)

that  solved my issue.

hi,

i am getting an error when i am trying to run my asp.net mvc core 2.1 (upgraded recently angular cli 6 to angular cli 7) application.

Can anyone guide me?

An unhandled exception occurred while processing the request.

<div class="titleerror">AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! quickapp-pro@2.1.0 start: `concurrently --kill-others "ng serve" "npm run theme" "--port" "5789"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the quickapp-pro@2.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

))</div>

System.Threading.Tasks.Task<TResult>.GetResultCore(bool waitCompletionNotification)

<div class="titleerror">InvalidOperationException: The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! code ELIFECYCLE

npm ERR! errno 1</div>

 

-----------------------------=========================================

and when i use these commands

npm install
npm run dev-build
npm start

then

  • Please see the response below (of these commands)

    M:\VSOnline_V\ClientApp>npm install
    npm WARN ngx-toasta@0.1.0 requires a peer of @angular/common@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN ngx-toasta@0.1.0 requires a peer of @angular/core@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    
    audited 31220 packages in 33.05s
    found 12 vulnerabilities (9 low, 3 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    
       ╭───────────────────────────────────────────────────────────────╮
                                                                      
             New minor version of npm available! 6.1.0 -> 6.7.0       
          Changelog: https://github.com/npm/cli/releases/tag/v6.7.0   │
                      Run npm install -g npm to update!               
                                                                      
       ╰───────────────────────────────────────────────────────────────╯
    
    
    M:\VSOnline_V\ClientApp>   npm run dev-build
    npm ERR! missing script: dev-build
    npm ERR!
    npm ERR! Did you mean this?
    npm ERR!     build
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\child\AppData\Roaming\npm-cache\_logs\2019-01-26T17_34_19_735Z-debug.log
    
    M:\VSOnline_V\ClientApp>   npm start
    
    > quickapp-pro@2.1.0 start M:\VSOnline_V\ClientApp
    > concurrently --kill-others "ng serve" "npm run theme"
    
    [1]
    [1] > quickapp-pro@2.1.0 theme 
    M:\VSOnline_V\ClientApp
    [1] > node-sass --watch src/app/assets/themes/ --output src/assets/themes/ --output-style=compressed
    [1]
    [0] error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'esnext'.
    
    [0] Error: error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'esnext'.
    [0]
    [0]     at AngularCompilerPlugin._setupOptions (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:94:19)
    [0]     at new AngularCompilerPlugin (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:53:14)
    [0]     at _createAotPlugin (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\webpack-configs\typescript.js:41:12)
    [0]     at Object.getNonAotConfig (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\webpack-configs\typescript.js:47:19)
    [0]     at BrowserBuilder.buildWebpackConfig (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\src\browser\index.js:82:37)
    [0]     at DevServerBuilder.buildWebpackConfig (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\src\dev-server\index.js:109:46)
    [0]     at MergeMapSubscriber.check_port_1.checkPort.pipe.operators_1.concatMap [as project] (M:\VSOnline_V\ClientApp\node_modules\@angular-devkit\build-angular\src\dev-server\index.js:36:40)
    [0]     at MergeMapSubscriber._tryNext (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\mergeMap.js:69:27)
    [0]     at MergeMapSubscriber._next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\mergeMap.js:59:18)
        at MergeMapSubscriber.Subscriber.next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\Subscriber.js:67:18)
    [0]     at TapSubscriber._next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\tap.js:65:26)
    [0]     at TapSubscriber.Subscriber.next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\Subscriber.js:67:18)
    [0]     at MergeMapSubscriber.notifyNext (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
    [0]     at InnerSubscriber._next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
    [0]     at InnerSubscriber.Subscriber.next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\Subscriber.js:67:18)
    [0]     at MergeMapSubscriber.notifyNext (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
    [0]     at InnerSubscriber._next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
    [0]     at InnerSubscriber.Subscriber.next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\Subscriber.js:67:18)
    [0]     at MapSubscriber._next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\map.js:55:26)
    [0]     at MapSubscriber.Subscriber.next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\Subscriber.js:67:18)
    [0]     at MergeMapSubscriber.notifyNext (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
    [0]     at InnerSubscriber._next (M:\VSOnline_V\ClientApp\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
    [0] ng serve exited with code 1
    --> Sending SIGTERM to other processes..
    [1] npm run theme exited with code 1
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! quickapp-pro@2.1.0 start: `concurrently --kill-others "ng serve" "npm run theme"`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the quickapp-pro@2.1.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\ghg\AppData\Roaming\npm-cache\_logs\2019-01-26T17_36_32_197Z-debug.log
    
    M:\VSOnline_V\ClientApp>