-
Notifications
You must be signed in to change notification settings - Fork 27.4k
ngsanitize error after migrating to angular 1.7.0 #16567
Comments
Hi, You're probably not using angular-sanitize 1.7, as it doesn't have references to Could you verify you're using 1.7.0 ? If you are, please provide the exact stacktrace so we can debug what's going on. (or if possible, provide a reproduction using plunkr) Thanks |
Hello, after the upgrade to angular 1.7.0, we faced the same issue when loading the application :
if it could help, we are using angular-sanitize "angular-sanitize@1.5.11" (found it in |
As documented, you should always use the same version of AngularJS ( |
Hi frederikprijck, Thanks for your response. I am using angular-sanitize 1.7 only . please find the below screen shot for the reference There is one another user also faced the same issue I found on stack overflow https://stackoverflow.com/questions/50213977/angularjs-ngsanitize-error |
You must be either not using angular@1.7.0 or not angular-sanitize@1.7.0. In 1.7.0, If you still believe there is bug in AngularJS, please post a minimal reproduction (ideally a live demo using Plnkr, CodePen, etc). |
Having the same symptoms. Just as Angular team suggested: I had been using not matching versions:
My problem was incorrect constraint in the package.json (so @singireddy0598 maybe you should check your version constraints)
|
I'm getting this with angular 1.7.8 & angular-sanitize 1.7.8 |
@bike2live - can you provide a reproduction of your problem, and place it in a new issue? |
I'm submitting a ...
Current behavior:
my application is not loading after angular released 1.7.0 version. We are using angular-sanitize in my our application. my application downloaded angular 1.7.0 version then correspondingly angular-sanitize is also downloaded with version 1.7.0(which is compatible with angular version 1.7.0).
angular.lowercase and angular.uppercase methods have been removed in 1.7.0 version However angular-sanitize with version 1.7.0 still has references to it and As a result my application is not loading with the below error
Error: [$injector:modulerr] Failed to instantiate module ngSanitize due to:
TypeError: lowercase is not a function
Expected / new behavior:
my application should load properly with angualr-sanitize version 1.7.0 and angular version 1.7.0. Could you make the necessary changes in angular-sanitize #1.7.0 version
Minimal reproduction of the problem with instructions:
AngularJS version: 1.7.0
Browser: all
Anything else:
The text was updated successfully, but these errors were encountered: