如何解决目标入口点“ @ ngrx / store”缺少依赖项:-@ angular / core
在安装ngrx store后,出现此错误,有人知道为什么吗?
C:\Users\user\Desktop\NgRxExample\ngrx-applications>ng s -o
chunk {main} main.js,main.js.map (main) 2.04 kB [initial] [rendered]
chunk {polyfills} polyfills.js,polyfills.js.map (polyfills) 697 bytes [initial] [rendered]
chunk {runtime} runtime.js,runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js,styles.js.map (styles) 9.73 kB [initial] [rendered]
chunk {vendor} vendor.js,vendor.js.map (vendor) 340 kB [initial] [rendered]
Date: 2020-09-11T05:00:32.637Z - Hash: 7a41446eaa7b76a1e566 - Time: 2949ms
目标入口点“ @ ngrx / store”中的ERROR缺少相关性: -@ angular / core
** Angular Live Development Server is listening on localhost:4200,open your browser on http://localhost:4200/ **
解决方法
在此处找到修复程序:Ng serve throwing @angular/core/core has no exported member 'eeFactoryDef'
In myApp's tsconfig.json file,made the following entry under compilerOptions
"paths": {
"@angular/*": ["./node_modules/@angular/*"]
},
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。