creativetimofficial / material-dashboard-angular2

Material Dashboard Angular
https://demos.creative-tim.com/material-dashboard-angular2/
MIT License
1.01k stars 2.09k forks source link

Can Not Start in Angular 10 #95

Closed Mahdihp closed 4 years ago

Mahdihp commented 4 years ago

Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: LocationStrategy, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: PlatformLocation, }, { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [APP_BASE_HREF,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: PlatformLocation, }, { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [APP_BASE_HREF,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: IterableDiffers, }, { type: KeyValueDiffers, }, { type: ElementRef, }, { type: Renderer, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ViewContainerRef, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ViewContainerRef, }, { type: TemplateRef, }, { type: IterableDiffers, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ViewContainerRef, }, { type: TemplateRef, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ViewContainerRef, }, { type: TemplateRef, }, { type: NgSwitch, decorators: [{ type: Host },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ViewContainerRef, }, { type: TemplateRef, }, { type: NgSwitch, decorators: [{ type: Host },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: NgLocalization, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: undefined, decorators: [{ type: Attribute, args: ['ngPluralCase',] },] }, { type: TemplateRef, }, { type: ViewContainerRef, }, { type: NgPlural, decorators: [{ type: Host },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: KeyValueDiffers, }, { type: ElementRef, }, { type: Renderer, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ViewContainerRef, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: ChangeDetectorRef, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] },] }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return [ { type: NgLocalization, }, ]; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Warning: Invalid constructor parameter decorator in D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awes ome.js: function () { return []; } Error: Error on worker #2: Error: Failed to find exported name of node (CommonModule = (function () { function CommonModule() { } return CommonModule; }())) in 'D:/Project/RS/front-end/Rs Material 10/node_modules/angular-font-awesome/dist/angular-font-awesome.js'. at Object.findExportedNameOfNode (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\imports\src\find_export.j s:36:19) at LogicalProjectStrategy.emit (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\imports\src\emitter.js:229: 38) at ReferenceEmitter.emit (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\imports\src\emitter.js:72:44) at Object.toR3Reference (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\annotations\src\util.js:193:31) at NgModuleDecoratorHandler._toR3Reference (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\annotations\src \ng_module.js:415:31) at D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\annotations\src\ng_module.js:195:72 at Array.map (<anonymous>) at NgModuleDecoratorHandler.analyze (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\annotations\src\ng_mod ule.js:195:38) at NgccTraitCompiler.TraitCompiler.analyzeTrait (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\transform\ src\compilation.js:346:40) at analyze (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:298:58) at ClusterMaster.onWorkerMessage (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.j s:195:27) at D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:55:95 at ClusterMaster.<anonymous> (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:29 3:57) at step (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:140:27) at Object.next (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:121:57) at D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:114:75 at new Promise (<anonymous>) at Object.__awaiter (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:110:16) at EventEmitter.<anonymous> (D:\Project\RS\front-end\Rs Material 10\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:287 :32) at EventEmitter.emit (events.js:315:20) An unhandled exception occurred: NGCC failed. See "C:\Users\mahdihp\AppData\Local\Temp\ng-UgIOuE\angular-errors.log" for further details. npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file C:\Windows\system32\cmd.exe npm ERR! errno ENOENT npm ERR! material-dashboard-angular@2.3.0 start:ng serve ` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the material-dashboard-angular@2.3.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\mahdihp\AppData\Roaming\npm-cache_logs\2020-08-13T06_33_43_470Z-debug.log `

github-actions[bot] commented 4 years ago

@Mahdihp this issue was automatically closed because it did not follow the bellow rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/material-dashboard-angular2

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com