``` angular-cli: 1.0.0-beta.8 node: 5.11.1 os: linux x64 ``` I am following [this](https://github.com/tomwayson/angular2-esri-example) example but I am not able to make it work. I am getting erros something like: `map.service.ts (2, 21): Cannot find module 'esri'`
Activity
pavlos256 commentedon Jul 1, 2016
tomwayson/angular2-esri-example#16
filipesilva commentedon Jul 4, 2016
Please see https://github.com/angular/angular-cli#3rd-party-library-installation for instruction on how to install 3rd aprty libs.
vivekimsit commentedon Jul 4, 2016
@filipesilva already tried that, the issue is that it uses dojo and hence it gives error loading modules.
tomwayson commentedon Nov 29, 2016
FYI in case anyone else comes across this, I've created a different repo that demonostrates how to use the ArcGIS API w/ angular-cli:
https://github.com/tomwayson/esri-angular-cli-example
For a more in depth reason behind why it doesn't work and the avaiable workarounds, see:
http://tomwayson.com/2016/11/27/using-the-arcgis-api-for-javascript-in-applications-built-with-webpack/
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.