游戏到处win,然后用VS2019打开,报错如下
10:57:58 [DEBUG]: D/ Number of interfaces: 4
10:57:58 [DEBUG]: D/ Debugger listening…, visit [
10:57:58 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=127.0.0.1:6086/00010002-0003-4004-8005-000600070008
10:57:58 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=192.168.31.197:6086/00010002-0003-4004-8005-000600070008
10:57:58 [DEBUG]: D/ ] in chrome browser to debug!
10:57:58 [DEBUG]: D/ For help see https://nodejs.org/en/docs/inspector
10:57:58 [INFO]: JS: injectWebAssembly …
10:57:58 [ERROR]: E/ ScriptEngine::evalString catch exception:
10:57:58 [ERROR]: E/ ERROR: Uncaught Error: Failed to require file ‘src/system.bundle.js’, not found!, location: (no filename):0:0
STACK:
- [0]anonymous@(no filename):1
- [1]anonymous@main.js:39
10:57:58 [ERROR]: [ERROR] file C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\native\cocos\application\CocosApplication.cpp: line 173
10:57:58 [ERROR]:
Uncaught Exception:
- location : (see stack)
- msg : Uncaught Error: Failed to require file ‘src/system.bundle.js’, not found!
- detail :
- [0]anonymous@(no filename):1 - [1]anonymous@main.js:39
10:57:58 [ERROR]: E/ ScriptEngine::evalString script (no filename), failed!
10:57:58 [ERROR]: E/ [ERROR] Failed to invoke require
10:57:58 [ERROR]: E/ ScriptEngine::evalString catch exception:
10:57:58 [ERROR]: E/ ERROR: Uncaught SyntaxError: Unexpected end of JSON input, location: undefined:0:0
STACK:
- [0]anonymous@main.js:42
10:57:58 [ERROR]: [ERROR] file C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\native\cocos\application\CocosApplication.cpp: line 173
10:57:58 [ERROR]:
Uncaught Exception:
- location : (see stack)
- msg : Uncaught SyntaxError: Unexpected end of JSON input
- detail :
- [0]anonymous@main.js:42
10:57:58 [ERROR]: E/ ScriptEngine::evalString script main.js, failed!
查看过了,'src/system.bundle.js’这个路径下是存在的。但是不知道为啥运行就不行。
我搜到 3.6.2引擎构建windows平台工程运行报错 - Creator 3.x - Cocos中文社区这里有相似的问题。但是没解决到。