ngular12版本引入ngalain报错

  • 1 报错提示
  • 2 解决方案

1 报错提示

/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.js:40throw new Error("The target entry-point \"" + invalidTarget.entryPoint.name + "\" has missing dependencies:\n" +^Error: The target entry-point "@delon/theme" has missing dependencies:- @angular/cdk/platform- @angular/cdk/bidi- @angular/cdk/overlayat TargetedEntryPointFinder.findEntryPoints (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.js:40:23)at /Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/execution/analyze_entry_points.js:29:41at SingleProcessExecutorSync.SingleProcessorExecutorBase.doExecute (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:28:29)at /Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:57:59at SyncLocker.lock (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/locking/sync_locker.js:34:24)at SingleProcessExecutorSync.execute (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:57:27)at Object.mainNgcc (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/src/main.js:74:25)at Object.process (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@angular/compiler-cli/ngcc/index.js:29:23)at NgccProcessor.processModule (/Users/dengkai/workspace/pumkins/test/my-project/node_modules/@ngtools/webpack/src/ngcc_processor.js:175:16)at /Users/dengkai/workspace/pumkins/test/my-project/node_modules/@ngtools/webpack/src/ivy/host.js:146:18

2 解决方案

使用v12版本的ngalain,从如下获取:

https://github.com/ng-alain/ng-alain.git
链接: https://pan.baidu.com/s/1dnN3qRHjREQIpgNNjMUa_g 提取码: 679g

然后解压到当前项目中替换原有的ngalain文件,从新npm install即可。

ngular12版本引入ng-alain报错相关推荐

  1. npm-卸载并安装指定版本Angular CLI以及报错(npm ERR! Error: EACCES: permission denied)

    今天想,装angular5,所以装了angular-cli1.7.4版本,结果报错了,,, 1.卸载之前的版本 npm uninstall -g @angular/cli 2.清除缓存,确保卸载干净 ...

  2. maven中引入oracle驱动报错Missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0

    maven中引入oracle驱动报错Missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0 问题:引入依赖之后会报错.在maven中央库中查找ojdbc, ...

  3. 引入react文件报错_React Native常见问题(一)

    以下是在开发产品3个月以来遇到多的问题,希望可以帮助到遇到同样问题的小伙伴们 一 node端口被占用(找不到入口): lsof -i:3009:查看所有3009端口 kill -9 14937 干掉1 ...

  4. ng serve 报错: 95% emitting LicenseWebpackPlugin(node:21768) UnhandledPromiseRejectionWarning…

    今天升级了Angular-cli版本到:Angular CLI: 6.2.4 后,初始化了个新项目,cnpm install 安装好依赖后 ng serve 报错. 报错信息如下: ** Angula ...

  5. 引入spring-boot-starter-redis包报错 :unknown

    springboot集成redis时,引入spring-boot-starter-redis包报错,maven找不到这个资源.如下图: 我的项目中,spring boot是 用的2.0.4版本. sp ...

  6. poi版本冲突导致连续报错NoSuchMethodError、VerticalAlignment无法转换为short和ClassNotFoundException的解决办法及兼容性问题解决

    项目场景: 在一个线上业务中,涉及到excel转pdf的相关操作,使用了poi库,但是一次运维中发现该功能产生了错误的结果,生成的pdf文件为空.报错信息为Caused by: java.lang.N ...

  7. vue echarts使用map地图 引入china.js报错Cannot read property ‘echarts’ of undefined

    下载china.js导入项目中引入,会报错Cannot read property 'echarts' of undefined import Echarts from "echarts&q ...

  8. 低版本eclipse导入高版本eclipse创建项目报错问题

    例如用高版本eclipse创建的项目,会默认使用的是jdk1.8版本, 低版本eclipse创建项目,会默认使用的是jdk1.7版本. 此时导入高版本eclipse项目时会报错(文件夹中会出现红色!) ...

  9. 查看node的位置_升级Node版本RN项目运行报错cb.apply is not a function

    今日打算安装一下ReactNative官方推荐的脚手架工具Ignite. infinitered/ignite​github.com Ignite是一套整合了 Redux 以及一些常见 UI 组件的脚 ...

最新文章

  1. c#_Array.Sort()
  2. 电商那些年,我摸爬打滚出的高并发架构实战精髓(续)
  3. 【AutoML】当前有哪些可用的AutoML平台?
  4. 如何在局域网内查找病毒主机
  5. Keyboard驱动介绍
  6. EasyUI--messager
  7. 从一个程序员的角度告诉你:12306有多牛逼?
  8. linux nslookup 解析不到dns_涉及DNS的简单操作,只看这一篇就够了
  9. 商业认知,近期与部分中小创业者一起吃饭,忽然有人谈到现在创业越来越难
  10. 读书_w3c架构师01通用设计与方法论
  11. 全网首发:解决办法:shmget()一直失败,errno=-22
  12. python collections模块(队列)
  13. HTC vive开发
  14. 2020晓庄学院专转本C语言考试试卷,南京晓庄学院五年一贯制专转本模拟考试c语言...
  15. numpy.angle角度制的取值
  16. 移动硬盘读取速度一般是多少
  17. 芬兰Vaisala温湿度变送器HMT330
  18. 常用的UML建模详解
  19. 半小时实现Java手撸Http协议,爽!!(附完整源码,建议收藏)
  20. jQuery Cookbook中文版

热门文章

  1. django学习笔记- oneday
  2. 计算机组成与系统结构2018,2018年国家电网考试备考计算机组成与体系结构
  3. 神族对抗人族的空投甲虫战术
  4. agile approach
  5. Android开发人员不得不收集的工具类集合
  6. Speech recognition模型:MoChA(Monotonic Chunkwise Attention)
  7. Linux逆向---ELF格式分析之节头
  8. MySQL与Oracle之间的恩怨情仇
  9. torch 移植 Mindspore 历程(未完成)
  10. 解构黄晓明的商业版图