-
Notifications
You must be signed in to change notification settings - Fork 33
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
Map loads in local, but does not load in azure dev environment #193
Comments
Typically, this issue is caused by the minifier. You might want to experiment with the minifier configurations or consider using an alternative minifier to address this. |
I have a similar issue with the following error. We are using create-react-app, so its handling our production build and minification: Uncaught ReferenceError: Cannot access '$' before initialization What can be done to resolve this if using create-react-app??? Installed packages are: To reiterate the issue, our maps and layers work fine on a local dev env, but as soon as we deploy to QA env we are seeing the error and layers are not working. Base map does load. Thanks |
I was able to reproduce and resolve the issue by updating the |
@yulinscottkang I'm getting a similar issue and I tried the proposed solution but it's not working. Installed packages: |
@Mousa96 were you able to resolve this error ? I am getting same issue, azure-maps-control works fine on local, but when i publish it on server it doesn't work well. using: "azure-maps-control": "^3.1.2" dependency. error in console screenshot : cc. @yulinscottkang |
I have same issue as syst-doe. Map is loading partly. Same error in console. Tried all methods of auth - didn't helped. |
I am getting the issue with azure-maps-control too. And tried editing the browserslist, did cache clean, rebuild and tested . Still the same. Tried changing the minimizer and tried the mangle:false in terserOptions but nothing seems to work. If i disable minimize then it works but i dont want to consider it as a solution. Is there any workaround done here by anyone even if its not simple I am willing to try. |
Application gives a console error:
Uncaught ReferenceError: Lp is not defined
at a5dd9fd3-ee46-4895-a171-214c0376c37f:1:7426
at a5dd9fd3-ee46-4895-a171-214c0376c37f:1:371118
when run in dev environment and and map does not load.
But it works fine in local.
Any suggestion!!!
Thanks in advance..
The text was updated successfully, but these errors were encountered: