opensourceBIM / BIMsurfer-before2019

This is the repository of the v1 and v2 version of BIM Surfer. It is not maintained anymore. Find the most recent version on https://github.com/opensourceBIM/BIMsurfer
MIT License
432 stars 195 forks source link

BIMSurfer Errors on console #232

Open tyakar opened 6 years ago

tyakar commented 6 years ago

We face some problems while trying to run BIMSurfer,

1- Clone BIMSurfer here https://github.com/opensourceBIM/BIMsurfer 2- Clone BIMServer JS API here https://github.com/opensourceBIM/BIMserver-JavaScript-API

while loading BIMSurfer index.html file, got some error on the console (Version 63.0.3239.108 (Official Build) (64-bit)) ; image

(Firefox Developer Edition 58.0b13 (64 bit) ) image

There is deployment for BIMSurfer ( http://opensourcebim.github.io/BIMsurfer/ ) If you check this, it has the same problems also.

It seems that, its about ES6 that browser doesnot support import and export functions. I've activated ES6 on chrome and nothing changed. (I've also tried Firefox DV edition)

Is it working (BIMSurfer master branch) on your development area? Can you please help me to run BIMSurfer.

Regards Tuncay

irshadgit commented 6 years ago

Try changing type to "module" instead of "text/javascript" in line 5 - 10 in html. Then above errors will go away and you will be blocked on #233