Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Bower package not working but NPM Is #328

Closed
Nick-t-go opened this issue Feb 24, 2017 · 3 comments
Closed

Bower package not working but NPM Is #328

Nick-t-go opened this issue Feb 24, 2017 · 3 comments

Comments

@Nick-t-go
Copy link

Simple. I use the package installed using NPM and there is no problem. I use the package installed with bower and I get the following error.
error11

@jwasilgeo
Copy link
Contributor

The underlying error looks like code we already fixed in #314 when Angular 1.6.0 introduced some breaking changes. Can you tell me more about what version of this library you have installed locally when you installed with bower? And exactly what command did you run when using bower?

@Nick-t-go
Copy link
Author

Originally I had these versions:
"angular": "^1.5.8",
"angular-animate": "^1.5.8",
"angular-cookies": "^1.5.8",
"angular-touch": "^1.5.8",
"angular-ui-router": "^0.3.1",
"angular-esri-map": "1.1.6"
I cloned the project on a new machine. Ran bower install bower then it installed new versions of packages:
"angular": "1.6.2",
"angular-animate": "1.6.2",
"angular-cookies": "1.6.2",
"angular-touch": "1.6.2",
"angular-ui-router": "0.3.2",
"angular-esri-map": "1.1.6"
Since your comment about conflicts with 1.6.0 I downgraded to the 1.5.8 versions and my project is working again. What do I have to do to get this to work with 1.6.X?

@jwasilgeo
Copy link
Contributor

@Nick-t-go looks like you need to bump up to use version 1.1.8 of this repo to work with either Angular 1.5 or 1.6.

If you're using JSAPI 4.x (which it doesn't appear to be the case), then you'd use version 2.02 of this repo.

The documentation (admittedly complex/confusing) on various Esri JSAPI, Angular, and angular-esri-map versions are noted here, but if you have any suggestions on how we can improve this please let me know.
https://github.com/Esri/angular-esri-map#dependencies

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants