Skip to content

Problem using esri library. #1260

Closed
Closed

Description

@vivekimsit
angular-cli: 1.0.0-beta.8
node: 5.11.1
os: linux x64

I am following this 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

  1. pavlos256 commented on Jul 1, 2016

    @pavlos256
  2. filipesilva commented on Jul 4, 2016

    @filipesilva
    Contributor

    Please see https://github.com/angular/angular-cli#3rd-party-library-installation for instruction on how to install 3rd aprty libs.

  3. vivekimsit commented on Jul 4, 2016

    @vivekimsit
    Author

    @filipesilva already tried that, the issue is that it uses dojo and hence it gives error loading modules.

  4. tomwayson commented on Nov 29, 2016

    @tomwayson

    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/

  5. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  6. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions