fixed this by rebooting the PC
Additionally to your success with re-booting your PC:
I've got a similar error when I placed a module unto my schematic (a self-made-one) and did not connect the outputs to anything. What happened wás that the optimizer cast away everything but left me this error-message.
Close psoc creator and restart it.
That fixed it. Whatever 'it' is. It worked.