Ng add ng-alain@next installation error

[Environment]
cnpm@6.0.0
npm@6.4.1
node@10.11.0 (C:Program Filesnodejsnode.exe)
npminstall@3.12.0
win32 x64 10.0.17134
registry=

Aug.06,2021

"run as administrator" command prompt
1) Global install yarn
npm install-g yarn
2) modify ng's package manager
ng config-g cli.packageManager yarn
3) add ng-alain and run
ng add ng-alain
ng serve

there are all kinds of problems in using npm and cnpm, which may be related to the speed of surfing the Internet.

Menu