Select to view content in your preferred language

FeatureLayer TypeError: Cannot read property 'processors' of undefined

07-28-2020 09:30 PM
New Contributor II

Hi everyone,

I have been using FeatureLayers in my map on my Angular project for some time with no issues at all during development and just yesterday this started popping up & I have no idea why, the layers get created as normal but do no display and show this error in console. Any ideas on what has changed? The error does not give much detail

I was on version
* "arcgis-js-api": "^4.16.0-next.20200716"

and updated to:

"arcgis-js-api": "^4.16.2"

Which did not resolve my problem. 

0 Kudos
2 Replies
Esri Regular Contributor

Hi Ryann, I have a few questions that will help us get to the bottom of this:

* What is the last production version of the ArcGIS API for JavaScript that does work in your app?

* Does the error occur during the app build or does it occur during a specific UI action?

* If the app breaks from some user interface action, can you provide the block of code that is breaking, or do you have a stackblitz version of this?

* Can you duplicate this outside of Angular in a stand-alone JS app? 

* Can you also share your package.json file?

FYI, it may be easier to open an issue here and continue the conversation => Issues · Esri/angular-cli-esri-map · GitHub . It also makes it a lot easier for other Angular devs to track and find answers to similar questions. 

0 Kudos
Esri Regular Contributor

Issue opened on github. Cross-reference:

0 Kudos