Can't load 3d model with GLFTLoader()

Hello! I’m trying to load a .gltf file with the GLTFLoader() function. But when I run the code it dosen’t work I just get the error message that the function couldn’t found the file… Have someone else had this problem with GLTFLoader, how did you solve this problem???

const loader = new GLTFLoader();

loader.load( 'assets/scene.gltf', function ( gltf ) {

    const model = gltf.scene;
    scene.add( model );

}, undefined, function ( e ) {

    console.error( e );

});

image

Maybe the examples helps

From the Collection of examples from discourse.threejs.org

BeginnerExample step 3
LoadGLTFmove

Path to file is wrong