mushon / IWBA

The International Water Bank Association's Water Deposit exhibit - a water ATM for depositing your first drops
0 stars 1 forks source link

Map is not loaded on state 4 #20

Closed mushon closed 8 years ago

mushon commented 8 years ago

not sure why, it is nowhere to find in my dom

wonyoungso commented 8 years ago

it works..?

mushon commented 8 years ago

This might only be a local problem, but on my installation I can't get the map to load at all, no trace in the DOM and no error in the console. This might be due to something missing in the installation process. Please advise (reopening)

mushon commented 8 years ago

See? Nothing here: image (Just a reminder that I am running on localhost with rails s webrick, trying to use npm start instead results in errors)

wonyoungso commented 8 years ago

rails s webrick and npm start is the only two command you should use and if the dom is rendered, it means that it's running properly. strange.. is there any errors or warnings on console?

Maybe trying to remove /public/webpack could be helpful to debug. (after you've done the debug, don't forget to recompile the code by bundle exec rake webpack:compile)

mushon commented 8 years ago

Let's try to fix this somehow, as it's currently baring further development. Moreover, I suggest we load the map on state 1 so it is already ready and fully rendered when we get to state 4. What do you think @wonyoungso ?

wonyoungso commented 8 years ago

Since the structure of the application is not allowed to load like that, It's almost impossible to do that. To do this we revise all the structure and I cannot guarantee the stability of the app.

wonyoungso commented 8 years ago

Revise a bit -- can you check?

mushon commented 8 years ago

Hallelujah!