-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReferenceError: L is not defined #119
Comments
|
I'll triple check, but Leaflet was working fine previously (it's being used for user facing maps to show multiple markers). I'm not sure why it wouldnt be able to find the leaflet library on the remote server though? |
You can use the developer's console to figure out on what path your remote deployment thinks Leaflet should be found. (For example, under the "Newtork" tab in Google Chrome's developer window.) |
I will have to check tomorrow, but to reiterate, everything works locally. I'll do some digging. |
I'm in an odd situation. I have this library working with Leaflet Widget (https://github.com/bforchhammer/leaflet_widget) locally, and it works perfectly.
But when deployed to a remote development server, I get this error.
The library is in the correct location and is being called (as evident by it working locally) so I'm at a loss for what to do.
The code on the remote server is the same as I have locally, as it comes from a repo.
The text was updated successfully, but these errors were encountered: