TypeError: Cannot read property '_RF' of undefined 什么情况?

TypeError: Cannot read property ‘_RF’ of undefined
at Object. (file:///Users/xxx/library/bundle.project.js?001:4211:3)
at Object.require.c2runtime._process (file:///Users/xxx/library/bundle.project.js?001:12887:4)
at s (file:///Users/xxx/library/bundle.project.js?001:1:262)
at e (file:///Users/xxx/library/bundle.project.js?001:1:433)
at file:///Users/xxx/library/bundle.project.js?001:1:451

我看了下bundle.project.js代码,是cc没定义,这个是什么情况?cc在哪里声明的,为什么会没定义?
这个在同事的1.4.2版本没问题, 我这边更新代码之后就报错。 用1.5.2的编辑器打开,也是一样的错误.

@jare

引擎没加载成功吧,前面有其它报错吧?

没有报错,直接就是这个 @jare

这个也用的默认的

我是mac系统,在不同的目录下放了不同的cocos creator版本.

麻烦看看报错的代码是什么?
有可能是在项目里重写了 cc,或者定义了一个新的变量也叫做 cc。

  arm.spriteFrame = self.armNormal;
  }
})));

}

});

cc._RF.pop();
},{}],“c2runtime”:[function(require,module,exports){
(function (process,global){
“use strict”;
cc._RF.push(module, ‘f32a0GGoQdF56I8ANOEcuCn’, ‘c2runtime’); //这里报错
// Script/c2runtime.js

应该是引擎本身的代码?

抱歉,我的锅…往代码目录下放了不相关的js文件,谢谢啦