Hello, I installed the latest version of commandbox with jre… The problem is that every time I try to run an application, it generates this problem: “variable [SERVERKEYS] doesn’t exist”… I have the windowns version 11 64bits.
Can anyone please help?
The only place that variable exists in the CommandBox code base is here in the function that gets all servers
var results = deserializeJSON( fileSystemUtil.lockingfileRead( variables.serverConfig ) );
var updateRequired = false;
var serverKeys = results.keyArray();
// Loop over each server for some housekeeping
for( var thisKey in serverKeys ){
I’m not sure how it would ever become null however. Can you check your servers.json
file in the CommandBox home dir and see if it seems corrupted?