bgstaal / multipleWindow3dScene

A quick example of how one can "synchronize" a 3d scene across multiple windows using three.js and localStorage
MIT License
16.44k stars 2.56k forks source link

White Screen #43

Open iTzArshia opened 8 months ago

iTzArshia commented 8 months ago

I cloned the repo and then open index.html but the screen is only White and nothing else! any idea? image

jagadishb1409 commented 8 months ago

same issue for me

MissSage commented 8 months ago

@iTzArshia open with live server, the path is like http://xxx

dlemm commented 8 months ago

That helped! I used https://formulae.brew.sh/formula/serve#default for example. With the local server I was able to see the scene.

Zarinia commented 8 months ago

Open your index as server like apache, nginx or local web server

SEN1OR-B commented 8 months ago

سلام عرشیا باید ایندکس اچ تی ام ال رو روی هاست ران کنی. مثلا لوکال هاست بعد با بروزر مسیر فایل index.html رو روی لوکال بنویس و باز کن

kashgurung commented 8 months ago

@iTzArshia please use this http-server package to serve your index.html file.

joeyparis commented 8 months ago

Running npx live-server in the directory will solve this issue.