DevCloudFE / ng-devui-admin

Customizable admin dashboard template based on Angular and DevUI
https://devui.design/admin-page/home
MIT License
285 stars 52 forks source link

[BUG]Error: Module not found: Error: Can't resolve '@angular/cdk/clipboard' #17

Closed ljj038 closed 3 years ago

ljj038 commented 3 years ago

Describe the bug

./src/app/@shared/shared.module.ts:7:0-57 - Error: Module not found: Error: Can't resolve '@angular/cdk/clipboard' in 'src/app/@shared'

Error: src/app/@shared/components/footer/footer.component.html:33:53 - error NG8004: No pipe found with name 'translate'.

To Reproduce Steps to reproduce the behavior:

  1. ng new xxx ; cd xxx
  2. ng add ng-devui-admin
  3. ng start
  4. See error

Expected behavior 应该启动4200, 看admin的页面啊

Screenshots

environments (please complete the following information): Angular CLI: 12.2.1 Node: 14.17.4 Package Manager: npm 7.20.6 OS: linux x64