C:\CocosCreator_2.0.10\resources\app.asar\editor\page\scene-utils\lib\source-maps.js:1 Simulator: E/jswrapper (205): ScriptEngine::onGetStringFromFile buffer not found, possible missing file.
E/jswrapper (709): ScriptEngine::runScript script buffer, buffer is empty!
E/jswrapper (292): [ERROR] Failed to invoke require, location: …\cocos\scripting\js-bindings\manual\jsb_global.cpp:292
at HTMLElement.print-simulator-log (C:\CocosCreator_2.0.10\resources\app.asar\editor\builtin\scene\panel\messages\scene.js:1:1501)
at Object.e._dispatch (C:\CocosCreator_2.0.10\resources\app.asar\editor-framework\lib\renderer\panel.js:1:1941)
at EventEmitter.o.on.s (C:\CocosCreator_2.0.10\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:2921)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)
我也遇到这个问题了 请问怎么解决的
同问 为什么会报这个错
楼主解决了吗,我也遇到了
什么情况下报这个错
Simulator: ScriptEngine::onGetStringFromFile buffer not found, possible missing file.ScriptEngine::runScript script buffer, buffer is empty![ERROR] Failed to invoke require, location: /Users/nantas/fireball-x/cocos2d-x-lite_20_release/cocos/scripting/js-bindings/manual/jsb_global.cpp:292 at HTMLElement.print-simulator-log (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/scene/panel/messages/scene.js:1:1501) at Object.e._dispatch (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/renderer/panel.js:1:1941) at EventEmitter.o.on.s (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/renderer/ipc.js:1:2921) at emitMany (events.js:127:13) at EventEmitter.emit (events.js:204:7)
运行模拟器时出现
请问楼主 解决没有 我也遇到类似报错–真机跑出来的
ScriptEngine::runScript script src/assets/scripts/libs/socket-io.js, buffer is empty!
[ERROR] Failed to invoke require, location: /Workspace/GitCode/kele_hj/KL_DDZ/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
请问这个问题解决了吗?类似问题应该怎样定位?