|
POST
|
Okay, thanks. Taking another look at those two error messages, this seems to be a ES6-to-ES5 transpilation error. That's typically a configuration issue with your framework/bundler and not an issue with the ArcGIS JS API. I'm basing my guess on one instance of a similar code signature that is in my local install /node_modules/@arcgis/core/views/input/keys.js. I've installed @arcgis/core@4.22. and that module is using ES6+ syntax. for(let s=48;s<58;s++)o[s]=String.fromCharCode(s); Try building your component using our example as a base and let us know if that works? https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-create-react-app
... View more
12-16-2021
11:58 AM
|
0
|
1
|
9441
|
|
POST
|
@naveenanne This looks like an issue with one of your other libraries, the file path listed in the error message isn't coming from the ArcGIS API for JavaScript.
... View more
12-16-2021
07:44 AM
|
0
|
3
|
9485
|
|
POST
|
@GauravGoyalcan you provide more information on your use case? You can use any charting library of your choice. Are you looking for an opensource charting library? If so you could start by looking at this library: https://github.com/Esri/cedar. If you have questions or issues with Cedar you'll need to open an issue on that repo.
... View more
12-16-2021
07:31 AM
|
0
|
0
|
680
|
|
POST
|
For those coming across this issue that are using Angular, I updated my example repo to Angular 13 and Jest 27: https://github.com/andygup/angular-jsapi-jest. Jest v27 + jest-preset-angular v11 supports a bunch of file types out-of-the-box: ts, html, js, json and mjs. To get the sample working, my jest config was minimal (see package.json).
... View more
12-14-2021
02:54 PM
|
0
|
1
|
3004
|
|
POST
|
@baohuachu2for loading multiple frameworks when using the ArcGIS API for JavaScript's AMD modules you might take a look at the esri-loader library: https://github.com/esri/esri-loader.
... View more
12-14-2021
07:58 AM
|
1
|
0
|
861
|
|
POST
|
@EmreCan @MatthieuBrisset Ah yes, I blew away my old node_modules and package-lock. When I reinstalled I see the problem, a dependency update changed something and I'm not sure why it doesn't work now. It will take some time to research. Hopefully it's just a configuration issue.
... View more
12-09-2021
08:38 AM
|
0
|
0
|
2891
|
|
POST
|
@EmreCanhere's an example for Angular 11 + Jest: https://github.com/andygup/angular-jsapi-jest
... View more
12-08-2021
07:32 AM
|
0
|
2
|
2915
|
|
POST
|
Thanks @RobertScheitlin__GISP link has been updated to an existing sample. The other sample (SketchViewModel Styler) will be available in the upcoming 4.22 release.
... View more
12-07-2021
01:52 PM
|
0
|
0
|
1209
|
|
POST
|
@RemiBecherucorrect, as of 4.21 we no longer support directly modifying the out-of-the-box widget View code. Which widget are you using? Some options going forward are extending the ViewModel, or building a custom widget. A common example for extending the ViewModel is SketchViewModel, here's the doc: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html and here's an example: https://developers.arcgis.com/javascript/latest/sample-code/layers-mapnoteslayer/ We are looking into adding a sample and some additional doc on this.
... View more
12-07-2021
12:57 PM
|
1
|
0
|
1214
|
|
POST
|
@MatthieuBrisset your repo doesn't seem to have jest.config.js and babel.config.js? There are also a bunch of dependencies in there that may/may-not affect something. One recommendation is use one of our repos as a starting point because they have minimal dependencies: https://github.com/Esri/jsapi-resources/tree/master/esm-samples.
... View more
12-06-2021
04:42 PM
|
0
|
0
|
2928
|
|
POST
|
@MatthieuBrissetcan you provide a simple github repo? That will be the easiest way to troubleshoot. cc @Anonymous User
... View more
12-02-2021
09:31 AM
|
0
|
0
|
2943
|
|
POST
|
Hi @BradleyWillis for ArcGIS Runtime SDK for Java you'll need to post your questions in the Java community which is here => https://community.esri.com/t5/arcgis-runtime-sdk-for-java-questions/bd-p/arcgis-runtime-sdk-for-java-questions
... View more
11-15-2021
10:52 AM
|
0
|
0
|
720
|
|
POST
|
@KartikThakur we suggest using Esri-loader to help load ArcGIS JS API 3.x in JavaScript frameworks: https://github.com/Esri/esri-loader/blob/master/README.md. For best performance and the latest functionality, we recommend using 4.x latest and our ES modules build: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli#arcgis-api-for-javascript-with-angular-cli.
... View more
11-11-2021
08:08 AM
|
0
|
0
|
4188
|
|
POST
|
Confirmation is in-progress for 4.21 and /next. I'll post any updates to this repo: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
... View more
11-05-2021
09:19 AM
|
1
|
0
|
2981
|
|
POST
|
Hi @YunusAhmadBaktir we don't currently support using SSR with the ArcGIS JS API. Here is a blog post that might provide some hints: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/ssr-esm/.
... View more
10-27-2021
07:27 AM
|
1
|
0
|
897
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 08-01-2025 06:20 AM | |
| 1 | 05-27-2025 12:39 PM | |
| 1 | 04-23-2025 06:56 AM | |
| 1 | 04-23-2025 07:09 AM | |
| 1 | 04-08-2025 09:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-05-2025
07:24 AM
|