As @labris said, there is something in your code. My assumption is that you are trying to load the Cannon plugin instead of the havok plugin (or on top of). The teamplte has examples for havok and ammo, so I am really not sure where things went wrong TBH.
If you want to share your code - it will help us diagnose your issue. Otherwise, @labris’s template is awesome as well
I don’t know vite tat well TBH, but correct me if I am wrong - babylonjs as a package should not appear there. you are using @babylonjs/core, and not the UMD package.
But your real issue is asynchronity. You are creating the physics plugin async - as you should. However, you are calling enablePhysics not in the then body, but after. Meaning, physicsPlugin has not yet been initialized, so it is using the default plugin (which is cannon)