-
Notifications
You must be signed in to change notification settings - Fork 3
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
ArcGIS components causing issues with build #4
Comments
@colbyhemond Yea I've run into this on other svelte (not sveltekit) projects with different libraries and the work arounds usually aren't worth it. I'm fine with switching to another library if that'll make development easier. I think the original motivation for ArcGIS was that we had existing state data (from ISPs) in an ArcGIS layer that we could also display in the app as needed. Maybe it's worth seeing if we can still visualize that using leaflet or mapbox? Or how hard it would be? That'll might give us a sense of whether it's more work to twist ArcGIS to work with sveltekit or visualize existing data using another library |
I'm currently trying out a couple different map solutions. and creating a couple different local branches to keep it all organized and clean. I'll update with findings after some research and testing |
@colbyhemond It looks like https://ruralnetv2.herokuapp.com/results is causing a server error in the deployed version of the app. I didn't notice this when developing locally though. Not sure if this is related to the previous issue or has to do with the leaflet dynamic importing. |
@ejolly it looks like it error is occurring somewhere in the initial load. I'm seeing that the |
Ah nice catch! So turns out my proposed solution in #7 doesn't actually work on the deployed app because the client can't read |
Closing as we are using leaflet instead of ArcGIS |
Currently the '@arcgis/core' is causing a build error. I have done a little research and it seems to be a common problem with packages that are not set up correctly with esm. see issue here. There seem to be ways to work around it, but not sure if it's worth it.
I'm curious if it would be better switching to a different map library like leaflet or svelte mapbox as they seem to do the same kind of thing we are doing with our map and they might be set up to work with sveltekit.
The text was updated successfully, but these errors were encountered: