Angular ionic 2不使用core js
我发现爱奥尼亚2没有使用“@types/core js”:“0.9.34”,如果我有这个,并启动爱奥尼亚服务,我会得到很多错误:Angular ionic 2不使用core js,angular,ionic2,Angular,Ionic2,我发现爱奥尼亚2没有使用“@types/core js”:“0.9.34”,如果我有这个,并启动爱奥尼亚服务,我会得到很多错误: ERROR in [at-loader] ./node_modules/@angular/common/src/directives/ng_class.d.ts:48:34 TS2304: Cannot find name 'Set'. ERROR in [at-loader] ./node_modules/@angular/compiler/src/ao
ERROR in [at-loader] ./node_modules/@angular/common/src/directives/ng_class.d.ts:48:34
TS2304: Cannot find name 'Set'.
ERROR in [at-loader] ./node_modules/@angular/compiler/src/aot/compiler.d.ts:48:32
TS2304: Cannot find name 'Map'.
我必须删除核心js,然后离子服务可以启动属性
我需要核心js,因为它是angular4要求的
有解决方案吗?离子2基于Angular 2,您必须等待离子3与Angular 4一起使用。今天,我开始使用离子3,但问题仍然存在,尽快添加“@types/core js”:“0.9.34”,然后离子服务抛出许多错误,如上所述。有什么想法吗?