安卓和iOS打包都报这个错误,安桌直接黑屏,iOS 可已看见场景,但是没有初始化
E/jswrapper: [ERROR] Failed to invoke require, location: /Users/cloud/NewProject_3/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:236
2018-12-31 12:58:23.740 10248-10276/cn.hello E/jswrapper: ERROR: Uncaught TypeError: Cannot read property ‘charAt’ of undefined, location: src/project.dev.js:0:0