Backend error on room selection.



  • Running on Windows 7. Throws an error whenever I click a room. Everything appears to work out fine in the client, but in the Server under "backend > processes" this error is generated. I have yet to place a spawn, I was inspecting rooms to find a good spawn location. If i'm already viewing a room and click the border buttons to scroll to adjacent rooms, the error is not generated.


    Unhandled rejection: Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:344:11)
    at ServerResponse.header (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\express\lib\response.js:719:10)
    at ServerResponse.send (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\express\lib\response.js:164:12)
    at ServerResponse.json (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\express\lib\response.js:250:15)
    at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\q-json-response\q-json-response.js:17:14
    at _rejected (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\q\q.js:844:24)
    at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\q\q.js:870:30
    at Promise.when (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\q\q.js:1122:31)
    at Promise.promise.promiseDispatch (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\q\q.js:788:41)
    at C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\modules\backend\node_modules\q\q.js:604:44