[SOLVED] Phaser Plugin Error

I get this error in moralis.js when using the matter collision plugin in phaser
Invalid Scene Plugin: matterCollision

I have no idea why this error is occurring so apologies if this post is for phaser and not moralis

Are you following a tutorial? Maybe something here will help with the error.

I was following this tutorial:

Thanks for the help, once I installed webpack the error went away.