dimfeld / svelte-maplibre

Svelte bindings for the MapLibre mapping library
https://svelte-maplibre.vercel.app
MIT License
283 stars 34 forks source link

Example Github Project - Internal Error 500 #147

Closed marksteven closed 2 months ago

marksteven commented 2 months ago

Hi Dimfeld firstly thank you for all the work on Svelte-maplibre. I am new to Libre so I thought I would have a look at your github download to start to learn the syntax but unfortunately it starts and throws an 500 internal error. Nav bar still works and you can click on each of the menus but nothing to the right where I am assuming the map should turn up. Have tried to find the issue but no avail. Hoping you maybe able to and maybe help direct me. Thankyou in advance Mark

marksteven commented 2 months ago

Ok Solved it (so leaving here for the next newbie) Make sure you include a blank .env in your project with PUBLIC_MAPTILER_KEY="" this seemed to fix for me so far. And again thank you Dimfeld enjoying this so far.