Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "affern2"

Question

Prerequisites

What is your product version? 5.000 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net core 2.2

It works great, and this post can be deleted.

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 5.000
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core 2.2

If issue related with ABP Framework

  • What is ABP Framework version? ABP: 3.8.2 and "abp-ng2-module": "3.2.4",

What do I have to do to upgrade Angular to v9?

I have just upgraded from Angular 7 to Angular 8 and that went smooth. But when I try to upgrade from 8 to 9 (https://update.angular.io/?v=8.2-9.0) , I get errors. From the log:

0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Users\bruker\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' 1 verbose cli ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle [email protected]~prestart: [email protected] 6 info lifecycle [email protected]~start: [email protected] 7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~start: PATH: C:\Users\bruker\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;####\angular\node_modules.bin;C:\Users\bruker\AppData\Roaming\npm;C:\Program Files\nodejs;C:\Python38\Scripts;C:\Python38;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio;C:\Program Files\Git\cmd;C:\Program Files (x86)\Yarn\bin;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;c:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;c:\Program Files\Intel\Intel(R) Management Engine Components\DAL;c:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\dotnet;C:\Users\bruker\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\bruker\AppData\Local\Yarn\bin;C:\Users\bruker.dotnet\tools;C:\Users\bruker\AppData\Roaming\npm;C:\Users\bruker\AppData\Local\GitHubDesktop\bin;C:\Users\bruker\AppData\Local\Microsoft\WindowsApps 9 verbose lifecycle [email protected]~start: CWD: #######\angular 10 silly lifecycle [email protected]~start: Args: [ '/d /s /c', 'ng serve --host 0.0.0.0 --port 4200' ] 11 info lifecycle [email protected]~start: Failed to exec start script 12 verbose stack Error: [email protected] start: ng serve --host 0.0.0.0 --port 4200 12 verbose stack spawn ENOENT 12 verbose stack at ChildProcess.<anonymous> (C:\Users\bruker\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:48:18) 12 verbose stack at ChildProcess.emit (events.js:310:20) 12 verbose stack at maybeClose (internal/child_process.js:1021:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) 13 verbose pkgid [email protected] 14 verbose cwd #######\angular 15 verbose Windows_NT 10.0.19041 16 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\bruker\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start" 17 verbose node v12.16.3 18 verbose npm v6.14.5 19 error code ELIFECYCLE 20 error syscall spawn 21 error file C:\WINDOWS\system32\cmd.exe 22 error errno ENOENT 23 error [email protected] start: ng serve --host 0.0.0.0 --port 4200 23 error spawn ENOENT 24 error Failed at the [email protected] start script. 24 error This is probably not a problem with npm. There is likely additional logging output above. 25 verbose exit [ 1, true ]

Do I have to upgrade backend and then upgrade abp-ng2-module to get this to work?

Showing 1 to 2 of 2 entries