jsapi-resources icon indicating copy to clipboard operation
jsapi-resources copied to clipboard

Angular Map Component Sample Errors

Open sriramasdanturthi opened this issue 1 year ago • 5 comments

IMPORTANT

  • [X] My question is related to the samples and content within this repository. For all other issues, open a ticket with Esri Technical Support or post your question in the community forum.
  • [X] I have checked for existing issues to avoid duplicates. If someone has already opened an issue for what you are experiencing, please add a 👍 reaction and comment as necessary to the existing issue instead of creating a new one. You can also refer to this repo's troubleshooting guide for hints and suggestions.

Actual behavior

when I am trying to zoom in its throwing lot of errors see the image below. Abort signal error image

Expected behavior

No errors

Reproduction sample

map-component-sample-angular

Reproduction steps

  1. Open Dev tools
  2. try to zoom in or out see bunch of errors and also map loads very slowly

Reproduction browser

chrome on windows 11

Operating System (check https://whatsmyos.com)

windows 11

sriramasdanturthi avatar Oct 17 '24 20:10 sriramasdanturthi

Hi @sriramasdanturthi thanks for reporting. I wasn't able to reproduce the issue locally using the Angular map-components sample.

  • Does it work on another browser?
  • Does this map components sample load okay? https://developers.arcgis.com/javascript/latest/sample-code/intro-map-components/live/
  • Verify your node version: https://angular.dev/reference/versions

andygup avatar Oct 17 '24 21:10 andygup

the sample works on other browsers except this browser. and the https://developers.arcgis.com/javascript/latest/sample-code/intro-map-components/live/ is loads fine on all browsers.

sriramasdanturthi avatar Oct 17 '24 22:10 sriramasdanturthi

We were able to repro the slow panning and zooming on a Windows 10 machine, but not the abort errors. Upgrading the machine to Chrome 130 and closing a bunch tabs fixed the issue.

Can you try:

  • Update to Chrome 130. If you already have 130, then restart the browser
  • Close all other tabs
  • Clear the cache
  • Try again

andygup avatar Oct 17 '24 23:10 andygup

It's version 130. And tried all those steps still getting this error. I tried in another browser brave it's also version 130 same errors.

sriramasdanturthi avatar Oct 18 '24 22:10 sriramasdanturthi

We just tested on a Windows 11 laptop while it was under and load and couldn't repro. Do you have another machine you can test it on using the same build output?

Also, for comparison see if you can try this @arcgis/core (non-component) sample: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli

andygup avatar Oct 21 '24 22:10 andygup

Closing as Stale. Feel free to reopen if the issue shows up again.

andygup avatar Apr 23 '25 21:04 andygup