Keep getting 'getUniqueName is not a function' errors



  • These SEEM to be tied to me using "break" in some completely different place in the code to exit a for loop? Don't seem to be breaking my code, they just... started popping up lately?
     
    The error I'm getting is:

    TypeError: require(...).getUniqueName is not a function
    at .createCreep (evalmachine.<anonymous>:1:72)
    at Object.run (room.W67N6:87:53)
    at Object.module.exports.loop (main:33:15)
    at __mainLoop:1:52

     

    Anybody know what could be the problem here?



  • Hard to say anything without seeing actual code