Egret社区

[DragonBones] 升级后报错

2017-10-29 21:09
14104
产品 Egret Wing 版本 5
复现概率 100% 平台 Mac OS 10.12.6
复现步骤 编译
问题描述 之前一直好好的,突然就出现这个
错误代码 您正在使用的引擎版本为 4.1.1
正在编译项目...
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/core/dragonBones/DragonBonesArmature.ts (41,27): Property 'enableCache' does not exist on type 'Armature'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/core/dragonBones/DragonBonesArmature.ts (53,27): Property 'enableCache' does not exist on type 'Armature'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/core/dragonBones/DragonBonesArmature.ts (104,38): Property 'autoTween' does not exist on type 'AnimationState'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (1,11): Duplicate identifier 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (85,41): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (85,63): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (85,76): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (90,23): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (94,31): Property 'url' does not exist on type 'RequestInfo'.
Property 'url' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (113,45): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (113,59): Property 'args' does not exist on type 'RequestInfo'.
Property 'args' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (115,21): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (120,27): Property 'key' does not exist on type 'RequestInfo'.
Property 'key' does not exist on type 'string'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (152,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (165,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (177,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (189,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (202,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (215,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (228,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (241,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (254,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (267,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (280,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (293,31): Type '{ key: string; url: string; args: any; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (306,31): Type '{ key: string; url: string; args: any; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (319,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (332,31): Type '{ key: string; url: string; args: number; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (358,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (371,31): Type '{ key: string; url: string; args: Coin; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (384,31): Type '{ key: string; url: string; args: CoinInfo; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (397,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (410,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (422,31): Type '{ key: string; url: string; args: number; }' is not assignable to type 'RequestInfo'.
Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
编译失败
BUG截图
升级到5之后报错, 然后又降回去了

您正在使用的引擎版本为 4.1.1
正在编译项目...
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/core/dragonBones/DragonBonesArmature.ts (41,27): Property 'enableCache' does not exist on type 'Armature'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/core/dragonBones/DragonBonesArmature.ts (53,27): Property 'enableCache' does not exist on type 'Armature'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/core/dragonBones/DragonBonesArmature.ts (104,38): Property 'autoTween' does not exist on type 'AnimationState'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (1,11): Duplicate identifier 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (85,41): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (85,63): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (85,76): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (90,23): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (94,31): Property 'url' does not exist on type 'RequestInfo'.
  Property 'url' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (113,45): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (113,59): Property 'args' does not exist on type 'RequestInfo'.
  Property 'args' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (115,21): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (120,27): Property 'key' does not exist on type 'RequestInfo'.
  Property 'key' does not exist on type 'string'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (152,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (165,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (177,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (189,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (202,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (215,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (228,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (241,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (254,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (267,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (280,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (293,31): Type '{ key: string; url: string; args: any; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (306,31): Type '{ key: string; url: string; args: any; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (319,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (332,31): Type '{ key: string; url: string; args: number; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (358,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (371,31): Type '{ key: string; url: string; args: Coin; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (384,31): Type '{ key: string; url: string; args: CoinInfo; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (397,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (410,31): Type '{ key: string; url: string; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
  Error /Users/hewansheng/Documents/EgretProjects/pz_building_new_-1/src/logic/protocol/Protocol.ts (422,31): Type '{ key: string; url: string; args: number; }' is not assignable to type 'RequestInfo'.
  Object literal may only specify known properties, and 'key' does not exist in type 'RequestInfo'.
编译失败


分享到 :
0 人收藏

4 个回复

倒序浏览
13500815917  官方团队 | 2017-10-30 10:32:09
您是单独升级DragonBones的版本吗?
首席鉴黄师  圆转纯熟 | 2017-10-30 15:59:17
13500815917 发表于 2017-10-30 10:32
您是单独升级DragonBones的版本吗?

不是,在launcher上升级的
首席鉴黄师  圆转纯熟 | 2017-10-30 15:59:19
13500815917 发表于 2017-10-30 10:32
您是单独升级DragonBones的版本吗?

不是,在launcher上升级的
13500815917  官方团队 | 2017-10-30 16:14:57
首席鉴黄师 发表于 2017-10-30 15:59
不是,在launcher上升级的

重新下安装引擎。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|京网文[2014]0791-191号|京ICP证150115号|Egret社区 ( 京ICP备14025619号 )

Powered by Discuz! X3.4 © 2001-2019 Comsenz Inc.

返回顶部