It seems you are using an outdated approach for making backgrounds. If you just want to apply a texture to the scene’s background, do this:
const loader = new THREE.TextureLoader();
scene.background = loader.load( 'https://threejs.org/examples/textures/uv_grid_opengl.jpg' );