Creator 2.0.8 版本 windows 环境模拟器无法运行

操作系统环境: win10;
creator 版本 2.0.8;

js/ts 新创建的项目选择模拟器运行, 就会报错, 模拟可以正常打开, 但是无法加载场景资源.

附件是 cocos creator 控制台的打印输出.

project.zip (2.1 KB)

顺便也贴出来了.

`2019-03-18T07:46:16.205Z - normal: Load ~/.CocosCreator/settings.json
2019-03-18T07:46:17.456Z - normal: Initializing Asset Database
2019-03-18T07:46:17.471Z - normal: checking language setting…
2019-03-18T07:46:17.471Z - normal: Language: zh
2019-03-18T07:46:18.341Z - success: preview server running at http://localhost:7456
2019-03-18T07:46:18.341Z - success: protocol editor-framework registered
2019-03-18T07:46:18.341Z - success: protocol app registered
2019-03-18T07:46:18.341Z - success: protocol theme registered
2019-03-18T07:46:18.341Z - success: protocol packages registered
2019-03-18T07:46:18.341Z - success: protocol uuid registerred
2019-03-18T07:46:18.341Z - success: protocol db registerred
2019-03-18T07:46:18.341Z - success: protocol thumbnail registerred
2019-03-18T07:46:18.341Z - success: protocol unpack registerred
2019-03-18T07:46:18.341Z - success: protocol disable-commonjs registerred
2019-03-18T07:46:18.622Z - normal: connected!
2019-03-18T07:46:18.624Z - normal: Check project F:\samples\ccc_js_native
2019-03-18T07:46:18.627Z - normal: Initializing project F:\samples\ccc_js_native
2019-03-18T07:46:19.516Z - normal: Initializing Cocos2d
2019-03-18T07:46:20.378Z - normal: Initializing engine extends
2019-03-18T07:46:20.393Z - success: asset-db-debugger loaded
2019-03-18T07:46:20.393Z - success: code-editor loaded
2019-03-18T07:46:20.393Z - success: color-picker loaded
2019-03-18T07:46:20.501Z - success: fb-audience-network loaded
2019-03-18T07:46:20.579Z - success: fb-live-stream loaded
2019-03-18T07:46:20.579Z - success: google-play-instant loaded
2019-03-18T07:46:20.579Z - success: huawei-runtime loaded
2019-03-18T07:46:20.579Z - success: jsb-adapter loaded
2019-03-18T07:46:20.594Z - success: oppo-runtime loaded
2019-03-18T07:46:20.594Z - success: package-manager loaded
2019-03-18T07:46:20.735Z - success: qqplay-adapter loaded
2019-03-18T07:46:20.735Z - success: runtime-dev-tools loaded
2019-03-18T07:46:20.735Z - success: sdkbox loaded
2019-03-18T07:46:20.751Z - success: tester loaded
2019-03-18T07:46:20.751Z - success: ui-grid loaded
2019-03-18T07:46:20.751Z - success: ui-kit-preview-extra loaded
2019-03-18T07:46:20.751Z - success: ui-kit-preview loaded
2019-03-18T07:46:20.751Z - success: ui-kit loaded
2019-03-18T07:46:20.751Z - success: ui-tree loaded
2019-03-18T07:46:20.751Z - success: vivo-runtime loaded
2019-03-18T07:46:20.766Z - success: weapp-adapter loaded
2019-03-18T07:46:20.829Z - success: assets loaded
2019-03-18T07:46:20.829Z - success: builder loaded
2019-03-18T07:46:21.157Z - success: cocos-services loaded
2019-03-18T07:46:21.157Z - success: console loaded
2019-03-18T07:46:21.204Z - success: fb-instant-games loaded
2019-03-18T07:46:21.204Z - success: google-instant-games loaded
2019-03-18T07:46:21.204Z - success: hierarchy loaded
2019-03-18T07:46:21.219Z - success: inspector loaded
2019-03-18T07:46:21.219Z - success: keystore loaded
2019-03-18T07:46:21.219Z - success: node-library loaded
2019-03-18T07:46:21.219Z - success: package-asset loaded
2019-03-18T07:46:21.219Z - success: preferences loaded
2019-03-18T07:46:21.219Z - success: project-exporter loaded
2019-03-18T07:46:21.219Z - success: project-importer loaded
2019-03-18T07:46:21.235Z - success: project-settings loaded
2019-03-18T07:46:21.235Z - success: scene loaded
2019-03-18T07:46:21.235Z - success: simulator-debugger loaded
2019-03-18T07:46:21.250Z - success: sprite-editor loaded
2019-03-18T07:46:21.250Z - success: store loaded
2019-03-18T07:46:21.250Z - success: timeline loaded
2019-03-18T07:46:24.096Z - normal: Loading packages
2019-03-18T07:46:24.096Z - normal: Watching packages
2019-03-18T07:46:24.127Z - info: Cocos Services load base data!
2019-03-18T07:46:25.158Z - normal: Run Application
2019-03-18T07:46:36.430Z - normal: Simulator: SCREEN DPI = 96, SCREEN SCALE = 1.00

2019-03-18T07:46:36.430Z - normal: Simulator: WORKAREA WIDTH 1850.00, HEIGHT 1029.00

2019-03-18T07:46:36.431Z - normal: Simulator: FRAME SCALE = 1.00

2019-03-18T07:46:37.172Z - normal: Simulator: Ready for GLSL

2019-03-18T07:46:37.173Z - normal: Simulator: Ready for OpenGL 2.0

2019-03-18T07:46:37.186Z - normal: Simulator: Project Config:

2019-03-18T07:46:37.187Z - normal: Simulator: project dir: C:\CocosCreator\resources\cocos2d-x\simulator\win32\

2019-03-18T07:46:37.188Z - normal: Simulator: writable path: $(PROJDIR)\

2019-03-18T07:46:37.195Z - normal: Simulator: script file: $(PROJDIR)\main.js

2019-03-18T07:46:37.195Z - normal: Simulator: frame size: 640 x 960

2019-03-18T07:46:37.196Z - normal: Simulator: frame scale: 1.00

2019-03-18T07:46:37.196Z - normal: Simulator: show console: NO

2019-03-18T07:46:37.196Z - normal: Simulator: write debug log: NO ()

2019-03-18T07:46:37.196Z - normal: Simulator: listen:

2019-03-18T07:46:37.196Z - normal: Simulator: debugger: none

2019-03-18T07:46:37.197Z - normal: Simulator: add searching path:

2019-03-18T07:46:37.197Z - normal: Simulator:

2019-03-18T07:46:37.197Z - normal: Simulator:

2019-03-18T07:46:37.197Z - normal: Simulator:

2019-03-18T07:46:37.198Z - normal: Simulator: resetDesignResolution request

2019-03-18T07:46:37.198Z - normal: Simulator: ------------------------------------------------

2019-03-18T07:46:37.199Z - normal: Simulator: LOAD Js FILE: jsb-adapter/jsb-builtin.js

2019-03-18T07:46:37.199Z - normal: Simulator: ------------------------------------------------

2019-03-18T07:46:37.199Z - normal: Simulator: D/jswrapper (368): Initializing V8, version: 6.0.286.52

2019-03-18T07:46:37.565Z - normal: Simulator: D/jswrapper (813): libuv version: 1.13.1

2019-03-18T07:46:37.567Z - normal: Simulator: D/jswrapper (112): Debugger listening…, visit [ chrome-devtools://devtools/bundled/inspector.html?v8only=true&ws=0.0.0.0:5086/00010002-0003-4004-8005-000600070008 ] in chrome browser to debug!

2019-03-18T07:46:37.568Z - normal: Simulator: D/jswrapper (115): For help see https://nodejs.org/en/docs/inspector

2019-03-18T07:46:37.617Z - normal: Simulator: D/jswrapper (129): JS: Enable batch GL commands optimization!

2019-03-18T07:46:37.617Z - normal: Simulator: resetDesignResolution request

2019-03-18T07:46:37.617Z - normal: Simulator: ------------------------------------------------

2019-03-18T07:46:37.618Z - normal: Simulator: LOAD Js FILE: main.js

2019-03-18T07:46:37.618Z - normal: Simulator: ------------------------------------------------

2019-03-18T07:46:37.838Z - error: Simulator: E/jswrapper (286): [ERROR] Failed to invoke require, location: …\cocos\scripting\js-bindings\manual\jsb_global.cpp:286
at HTMLElement.print-simulator-log (C:\CocosCreator\resources\app.asar\editor\builtin\scene\panel\messages\scene.js:1:1501)
at Object.e._dispatch (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\panel.js:1:1941)
at EventEmitter.o.on.s (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:2917)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)
2019-03-18T07:46:37.839Z - normal: Simulator: iShow!

2019-03-18T07:46:37.840Z - error: Simulator: E/jswrapper (271): ERROR: Uncaught ReferenceError: __getCurrentLanguageCode is not defined, location: src/cocos2d-jsb.js:0:0
STACK:
[0]initSys@src/cocos2d-jsb.js:27480
[1]168@src/cocos2d-jsb.js:27558
[2]newRequire@src/cocos2d-jsb.js:12
[3]anonymous@src/cocos2d-jsb.js:13
[4]229…/platform/CCSys@src/cocos2d-jsb.js:42632
[5]newRequire@src/cocos2d-jsb.js:12
[6]anonymous@src/cocos2d-jsb.js:13
[7]236…/CCPath@src/cocos2d-jsb.js:43668
[8]newRequire@src/cocos2d-jsb.js:12
[9]anonymous@src/cocos2d-jsb.js:13
[10]184…/CCDirector@src/cocos2d-jsb.js:29985
[11]newRequire@src/cocos2d-jsb.js:12
[12]anonymous@src/cocos2d-jsb.js:13
[13]291…/cocos2d@src/cocos2d-jsb.js:66446
[14]newRequire@src/cocos2d-jsb.js:12
[15]outer@src/cocos2d-jsb.js:18
[16]anonymous@src/cocos2d-jsb.js:20
[17]anonymous@src/cocos2d-jsb.js:66810
[18]anonymous@main.js:90
[19]anonymous@main.js:96
at HTMLElement.print-simulator-log (C:\CocosCreator\resources\app.asar\editor\builtin\scene\panel\messages\scene.js:1:1501)
at Object.e._dispatch (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\panel.js:1:1941)
at EventEmitter.o.on.s (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:2917)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)
`

请问之前能正常使用么,电脑能联网么?

Web 一切没问题, 网络正常.

hi, anybody here?

我搜索了站内的论坛, 有个类似的帖子, 不过是 2017 年的了, 也没人回复.
是否是我机器的某个端口被占用, 从而引发的问题? 另外我在其他的机器上测试过, 是可以的.

进行过重启的操作, 重启之后创建 examples 也是一样的.

目前 3 个 creator 进程是否正常呢?

难道需要重装系统吗?

现在尝试下载最新的 2.0.9 试试.

你电脑上有其他版本的cocos creator么,找到他们然后全部卸载之后重装你想要使用的那个版本。

嗷, 我的亲爱的上帝, 可以运行了.