flambe icon indicating copy to clipboard operation
flambe copied to clipboard

Cache problem / Type name Math is redefined from module Math

Open matthieudesprez opened this issue 9 years ago • 1 comments

Hi, I didn't get any problem to install flambe and run the demos but now that I try to edit the files I encounter some issues which I guess are relative to the cache of the server but I don't know how to solve this.

First of all I've got this error in compiling a project for the second time :

Building: build/web haxe --connect 6000 -main PhysicsMain -lib nape -D NAPE_RELEASE_BUILD -lib flambe -cp src -dce >full -debug --no-opt --no-inline -D html -D js-es5 -D js-flatten --macro >flambe.platform.ManifestBuilder.use("build/web/assets") -D source-map-content -js >build/web/targets/main-html.js Type name Math is redefined from module Math

If I restart the server I'm able to build again without any error but then if I try to rebuild I've got the same issue.

If I try to compile another project and run it on http://localhost:7000/ it keeps showing me the same built I've done for the first time.

I didn't find any solution so I hope someone could highlight me on this and helps me to start with Flambe

matthieudesprez avatar Jul 14 '15 14:07 matthieudesprez

Edistra, I encountered the same issue recently. While flambe is being served I 'pkill haxe' in another tab. It seems to be working but interferes with code completion when writing haxe. A thing to note that if your issue is the same as mine, every time I open a new sublime window I have to 'pkill haxe'. Let me know if you find a better solution or if this works.

jmeltin avatar Jul 31 '15 21:07 jmeltin