BIMsurfer-before2019 icon indicating copy to clipboard operation
BIMsurfer-before2019 copied to clipboard

BIMSurfer Errors on console

Open tyakar opened this issue 7 years ago • 1 comments

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

tyakar avatar Jan 03 '18 06:01 tyakar

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

irshadgit avatar Jan 03 '18 13:01 irshadgit