Compile error : DeprecationWarning: 'root' is deprecated, use 'global'


Hey, can anyone tell me what’s wrong with this log?


e[36m[2018-06-03 10:15:05.742] [DEBUG] AndroidBuilder - e[39m[prepare] cordova restore platforms
e[36m[2018-06-03 10:15:05.755] [DEBUG] AndroidBuilder - e[39m[prepare] adding engine android@6.2.3
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Subproject Path: CordovaLib
(node:30011) DeprecationWarning: ‘root’ is deprecated, use ‘global’
e[36m[2018-06-03 10:15:10.898] [DEBUG] AndroidBuilder - e[39mundefined

I just compile my game as usual but this time it show this to me every single time, Please help


I’m having the same problem. I think it’s the new C2 version.

Any solution?


Yep, I try the old version of C2 (r239) and it work perfectly the version that I have this problem is the lastest (r259 No.2)