Good day! Ive tried to use both Cannon.js and Cannon.min.js, but have caught such a problem. My code looks like this...maybe you have a global version or smth like that? I dont know what to do...
If it says that CANNON isn't defined, it might be a problem with the way you are importing the library. If I could see that, I might be able to help you.