Select to view content in your preferred language

Errors show on MS Edge for Javascript API 4.21

844
2
Jump to solution
11-05-2021 01:41 PM
weeyeo
by
Emerging Contributor
I try to update my code to your latest Javascript api 4.21. For some reason, this only happen when using MS Edge but not other browsers. I also try your sample code here (https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer/live/) and still get the same errors message. 
See the errors below:
 
1. SCRIPT1028: SCRIPT1028: Expected identifier, string or number

init.js (45,460)

2. 0: 'require' is not defined
 
Do you have any workaround method to solve errors message show on the MS Edge?
Thanks.
 
 
0 Kudos
1 Solution

Accepted Solutions
JeffreyWilkerson
Frequent Contributor

I clicked on the sample code link you provided and I don't see any errors. I'm using MS Edge version 95.0.1020.40 (Official build) (64-bit).

View solution in original post

2 Replies
JeffreyWilkerson
Frequent Contributor

I clicked on the sample code link you provided and I don't see any errors. I'm using MS Edge version 95.0.1020.40 (Official build) (64-bit).

weeyeo
by
Emerging Contributor

Thanks Jeffrey.  New version works!

0 Kudos