I have seen this error too, it disappears when $CFG->cachejs is false. However, this is no solution. I cleared my browser caching and now the message is gone completely.
I think it might have something to do with lib/amd/src/storagewrapper.js I am hoping for the error to return to do some more debugging.