我正在使用模板来使用Angular 6创建Web应用程序。我已经下载了模板Angular App,但是当我使用ng serve命令时,它显示了很多错误 模板链接(https://github.com/creativetimofficial/light-bootstrap-dashboard-angular2) 我已经尝试过在全球范围内安装angular-devkit模块,但该错误尚未解决
Error messages:
Could not find module "@angular-devkit/build-angular" from "C:\\Users\\sonar\\ws\\webde\\light-bootstrap-dashboard-angular2-master".
Error: Could not find module "@angular-devkit/build-angular" from "C:\\Users\\sonar\\ws\\webde\\light-bootstrap-dashboard-angular2-master".
at Object.resolve (C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\core\node\resolve.js:141:11)
at Observable.rxjs_1.Observable [as _subscribe] (C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\architect\src\architect-legacy.js:153:40)
at Observable._trySubscribe (C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:30:22)
at C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:99:19
at new Promise (<anonymous>)
at Observable.toPromise (C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:97:16)
at ServeCommand.initialize (C:\Users\sonar\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:130:86)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)