Comments (8)
Modifying the draft plan above - most likely this repo will be deprecated at 4.18 and point to the new grouping of esm-samples on the jsapi-resource repo.
Reference: Esri/jsapi-resources#229
from angular-cli-esri-map.
Is using webpack with version 4.17 or 4.16 still supported? My app based on this repo suddenly stopped working and will no longer build. I've tried switching to v4.16 and 4.17 and I'm getting all kinds of errors. Modules are not found, dojo is not loaded, critical dependency. So if we have an app based on this repo are we being forced to upgrade to 4.18? I do plan on upgrading but need my app to work in the mean time until I can make the upgrade.
from angular-cli-esri-map.
Yes, webpack is definitely still supported! Can you open a new issue on this repo?
from angular-cli-esri-map.
I was able to get v4.16 to work. Still getting errors with v4.17.
from angular-cli-esri-map.
@nbabel can you open a new issue and provide details on the errors?
from angular-cli-esri-map.
I am writing an Angular library that is using the ArcGIS JS API with esri-loader. Currently we are struggling with the upgrade from 4.16 to 4.19. We don't want to switch to ES modules yet, and according to the documentation, https://developers.arcgis.com/javascript/latest/tooling-intro/, the AMD modules will be available for the foreseeable future.
To me, making this repo deprecated is a bad decision. We really need an Angular example working with the latest ArcGIS JS API loaded with CDN/AMD modules and esri-loader. Starting with the version 4.18 we are observing Unhandled Promise rejection
errors thrown in the console by some Esri objects such as BasemapGallery or SceneView. There must have been a change in the ArcGIS JS API code between versions 4.17 and 4.18 that is triggering the issue in the Angular context. I will provide more details in separate issues.
Is there an option that you keep this repo maintained and updated to the latest Esri & Angular versions? If not, can you point me some other place where I can find a working Angular/ArcGIS/esri-loader example and submit issues occurring only in such context?
Thanks!
from angular-cli-esri-map.
Whoops, @bpo19 I'm just seeing your comment. We are focusing our resources on supporting the latest JS frameworks and build tools which recognize ES modules as a best practice for building applications. Feel free to post issues for now, we'll try to answer questions but our ability to help troubleshoot will be very limited. Note some issues have been resolved in newer versions of Angular, this repo is frozen at Angular 11.
With regards to the unhandled promise rejections
there is a known issue with potential workarounds. See the comments here in the esm-samples repo: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli#known-issues.
- To prevent Unhandled Promise Rejection errors when using Angular with Zone.js, upgrade to Angular 13, Zone.js 0.11.4 or greater, and switch the tsconfig.target to es2017 or greater.
from angular-cli-esri-map.
Closing. Deprecation notice was posted at 4.18 and this repo will be retired at 4.22. Reference issue #114.
from angular-cli-esri-map.
Related Issues (20)
- `Unhandled Promise rejection` errors are thrown on SceneView panning and zooming HOT 1
- `Unhandled Promise rejection` errors are thrown when adding basemaps to existing BasemapGalleryWidget HOT 4
- Repo retirement notice for 4.22 HOT 1
- esri-view not working when used height=100% HOT 5
- esriSignInDialog broken in JS API 4.15 using the Angular CLI and esri-loader HOT 3
- Popup template format not working HOT 2
- Document handling change detection in Angular components HOT 1
- "Cannot read property 'processors' of undefined" when using FeatureLayer, Angular 10 HOT 4
- Destroying the map - memory leak HOT 2
- Creating a Search Widget in Angular with No Map HOT 4
- click event hitTest() result undefined HOT 9
- Document using local css and workers
- Error upgrading to v 4.17 HOT 10
- Error on executing npm install command for ESRI webPack HOT 2
- ENOENT: no such file or directory HOT 3
- Upgrade to 4.12 fails in IE11 HOT 7
- Where is urlUtils imported from? HOT 4
- Uncaught ReferenceError: __esri is not defined HOT 5
- NgRx effects with QueryTask HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-cli-esri-map.