Private server -> rooms are not displayed
-
I started a private server and connected the screeps client to it.
I select a room to display it, but the room will not displayed. Only a gray background noting more. And code is not available.
-
there were exceptions in the server backend log:
Couldn't reload bot AI "simplebot": Error: ENOENT: no such file or directory, stat 'C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\node_modules@screeps\simplebot\src'
Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.send (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:164:12) at ServerResponse.json (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:250:15) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41)
Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.json (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:247:10) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:604:44
invalid room
Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.send (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:164:12) at ServerResponse.json (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:250:15) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41)
Running cronjob 'roomsForceUpdate'
Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.send (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:164:12) at ServerResponse.json (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:250:15) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31)
Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.json (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:247:10) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41) at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\package\node_modules\q\q.js:604:44
-
i managed to fixed this error:
Couldn't reload bot AI "simplebot": Error: ENOENT: no such file or directory, stat 'C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\node_modules@screeps\simplebot\src'
by installing the simple bot:
npm install @screeps/simplebot
but still getting these errors:
Unhandled rejection: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (E:\dev\screepsAI_V1\node_modules\express\lib\response.js:767:10) at ServerResponse.send (E:\dev\screepsAI_V1\node_modules\express\lib\response.js:170:12) at ServerResponse.json (E:\dev\screepsAI_V1\node_modules\express\lib\response.js:267:15) at E:\dev\screepsAI_V1\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (E:\dev\screepsAI_V1\node_modules\q\q.js:864:24) at E:\dev\screepsAI_V1\node_modules\q\q.js:890:30 at Promise.when (E:\dev\screepsAI_V1\node_modules\q\q.js:1142:31) at Promise.promise.promiseDispatch (E:\dev\screepsAI_V1\node_modules\q\q.js:808:41) at E:\dev\screepsAI_V1\node_modules\q\q.js:624:44
Unhandled rejection: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (E:\dev\screepsAI_V1\node_modules\express\lib\response.js:767:10) at ServerResponse.json (E:\dev\screepsAI_V1\node_modules\express\lib\response.js:264:10) at E:\dev\screepsAI_V1\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (E:\dev\screepsAI_V1\node_modules\q\q.js:864:24) at E:\dev\screepsAI_V1\node_modules\q\q.js:890:30 at Promise.when (E:\dev\screepsAI_V1\node_modules\q\q.js:1142:31) at Promise.promise.promiseDispatch (E:\dev\screepsAI_V1\node_modules\q\q.js:808:41) at E:\dev\screepsAI_V1\node_modules\q\q.js:624:44 at runSingle (E:\dev\screepsAI_V1\node_modules\q\q.js:137:13)and no room will be displayed.