Comments (9)
@mfcallahan No update on the tests, we've been focused on the ES modules (beta). That build will be available in a few weeks along with the 4.18 release. You can try out the pre-release version of the ES modules today:
npm install @arcgis/core
from angular-cli-esri-map.
Yep, the failing karma tests are a known issue and I haven't had a chance to look into it. From what I remember esri, dojo and digit modules weren't resolving correctly. Probably have to specify the arcgis-webpack-plugin in karma config and possibly create a separate webpack-test.config.
from angular-cli-esri-map.
I have a similar one. I am using Angular 9. I got the following error: ' Cannot find namespace '__esri'.' I tried a few solution even what @andygup proposed but they did not work. I found this thread: Link and it was directed me here. Has somebody resolved this issues successfully ? Thank you
from angular-cli-esri-map.
Any update on this issue or at least a workaround ?
from angular-cli-esri-map.
No workaround, yet, I haven't had time to work on it. However, we are making great progress on an ESM build of the ArcGIS API for JavaScript that will be available later this year or early next year. Once we have that, it will be significantly easier to build tests.
I'll also check with a few folks here that hinted they might have solved the issue using our AMD build.
from angular-cli-esri-map.
Any update on this issue?
from angular-cli-esri-map.
Awesome, I'm going to give it a try! I've been looking forward to version of the API which which can be included in an app directly thru npm. Is there a roadmap or FAQ for the future of the ArcGIS API for JavaScript? I'm curious to know what the path forward looks like as far as Esri supporting the AMD modules, the Webpack plugin, the esri-loader, and npm.
from angular-cli-esri-map.
Just small tweaks, really. AMD modules will continue to be shipped for the foreseeable future for CDN and local builds. Webpack-plugin will still be shipped and it will get an update to provide helper capabilities when using the ES modules. Esri-loader will still be available, it will just get a README update.
[Additional - forgot to add] This repo is going to be deprecated and replaced by a single esm-samples repo. You can preview that in this PR: Esri/jsapi-resources#229
from angular-cli-esri-map.
Closing.
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
- Deprecation notice - update repo for ArcGIS JS API ES modules (beta) at 4.18 HOT 8
- 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.