Problem with loading gtlf in Babylon.JS

SceneLoader.RegisterPlugin(new GLTFFileLoader())
Did you run this line of code to register the plugin?
SceneLoader.LoadAssetContainer
Try loading gltf this way.