Babylon JS Server Side Load Local Texture

I am new to Babylon JS and am sorry if the question I ask is bad.
I am running babylon js on my host machine for server side computation and want to load a height map image for a heightMap that is stored in a file on the server:

var ground = BABYLON.MeshBuilder.CreateGroundFromHeightMap("ground", "/images/heightMap.jpg", options,scene);

However, I get an error saying the following:
throw new NetworkError(`Unsupported protocol ${this._url.protocol}`);
I think that this is because Babylon is trying to make an http request to the given path. Is there anyway to load a local texture?
Thanks in advance!

Hello! you have to serve your files from a network location (so you need a web server on your backend)