akveo / akveo/nebular

requestPassword stop working

Open
#2,320 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

This all of a sudden stop working. i keep recieving error message
0:"Something went wrong." but it is not telling what went wrong. It no longer reaches the api and I do see the correct url. The backend api is Allowanonymous. Not sure why it stopped.

`requestPass(): void {
this.user = this.requestPasswordForm.value;
this.service.requestPassword(this.strategy, this.user).subscribe((result: NbAuthResult) => {`
### Issue type
errors:Array(1) ["Something went wrong."]
messages:Array(1) [undefined]
length:1
__proto__:Array(0) [, …]
0:undefined
redirect:null
response:DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
code:12
message:"Failed to execute 'open' on 'XMLHttpRequest': Invalid URL"
name:"SyntaxError"
stack:"Error: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
at http://localhost:4200/polyfills.js:9889:31
at XMLHttpRequest.proto. [as open] (http://localhost:4200/polyfills.js:8350:24)
at XMLHttpRequest.a.open (http://localhost:4200/scripts.js:2:6441)
at Observable._subscribe (http://localhost:4200/vendor.js:36705:17)
at Observable._trySubscribe (http://localhost:4200/vendor.js:295602:25)
at Observable.subscribe (http://localhost:4200/vendor.js:295588:22)
at CatchOperator.call (http://localhost:4200/vendor.js:298899:23)
at Observable.subscribe (http://localhost:4200/vendor.js:295583:31)
at subscribeToResult (http://localhost:4200/vendor.js:305683:23)
at MergeMapSubscriber._innerSub (http://localhost:4200/vendor.js:300873:116)"
__proto__:DOMException {INDEX_SIZE_ERR: 1, DOMSTRING_SIZE_ERR: 2, HIERARCHY_REQUEST_ERR: 3, …}
ABORT_ERR:20
code:TypeError: Illegal invocation
constructor:function DOMException() { … }
DATA_CLONE_ERR:25

* [x] bug report
* [ ] feature request
Node version 12.16.1

-->
`
{
"name": "",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:ssr": "ng run ",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"docs:serve": "compodoc -p src/tsconfig.app.json -d docs -s",
"prepush": "npm run lint:ci",
"release:changelog": "npm run conventional-changelog -- -p angular -i CHANGELOG.md -s"
},
"private": true,
"dependencies": {
"@agm/core": "^1.1.0",
"@angular-material-extensions/password-strength": "^4.1.2",
"@angular/animations": "^8.2.14",
"@angular/cdk": "^8.2.3",
"@angular/common": "^8.2.14",
"@angular/compiler": "^8.2.14",
"@angular/core": "^8.2.14",
"@angular/forms": "^8.2.14",
"@angular/material": "^8.2.3",
"@angular/platform-browser": "^8.2.14",
"@angular/platform-browser-dynamic": "^8.2.14",
"@angular/platform-server": "^8.2.14",
"@angular/router": "^8.2.14",
"@asymmetrik/ngx-leaflet": "^6.0.1",
"@auth0/angular-jwt": "^3.0.1",
"@nebular/auth": "^4.6.0",
"@nebular/date-fns": "^4.6.0",
"@nebular/eva-icons": "4.2.1",
"@nebular/moment": "^4.6.0",
"@nebular/security": "^4.6.0",
"@nebular/theme": "4.2.1",
"@nguniversal/module-map-ngfactory-loader": "^8.2.6",
"angular-tree-component": "7.2.0",
"aspnet-prerendering": "^3.0.1",
"bootstrap": "^4.3.1",
"chart.js": "^2.9.3",
"ckeditor": "4.7.3",
"classlist.js": "^1.1.20150312",
"core-js": "^2.6.10",
"eva-icons": "^1.1.0",
"intl": "1.2.5",
"ionicons": "2.0.1",
"jquery": "^3.4.1",
"jwt-decode": "^2.2.0",
"leaflet": "1.2.0",
"nebular-icons": "1.1.0",
"ng2-charts": "2.3.0",
"ng2-completer": "2.0.8",
"ng2-smart-table": "1.5.0",
"ngx-ckeditor": "^8.0.0",
"ngx-echarts": "^4.0.1",
"ngx-smart-table": "^2.0.3",
"ngx-toastr": "^11.2.1",
"node-sass": "^4.12.0",
"normalize.css": "6.0.0",
"oidc-client": "^1.9.1",
"pace-js": "1.0.2",
"popper.js": "^1.16.0",
"roboto-fontface": "0.8.0",
"rxjs": "^6.5.3",
"rxjs-compat": "^6.5.3",
"socicon": "3.0.5",
"tinymce": "4.5.7",
"tslib": "^1.9.0",
"typeface-exo": "0.0.22",
"web-animations-js": "github:angular/web-animations-js#release_pr208",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.21",
"@angular/cli": "^8.3.20",
"@angular/compiler-cli": "^8.2.14",
"@angular/language-service": "^8.2.14",
"@compodoc/compodoc": "^1.1.11",
"@fortawesome/fontawesome-free": "^5.12.0",
"@nebular/theme": "4.2.1",
"@swimlane/ngx-charts": "^10.0.0",
"@types/d3-color": "^1.2.2",
"@types/googlemaps": "^3.38.1",
"@types/jasmine": "^3.5.0",
"@types/jasminewd2": "^2.0.8",
"@types/leaflet": "^1.5.6",
"@types/node": "^12.12.17",
"angular-tree-component": "7.2.0",
"codelyzer": "^5.2.0",
"conventional-changelog-cli": "1.3.4",
"echarts": "^4.0.2",
"husky": "0.13.3",
"jasmine-core": "^3.5.0",
"jasmine-spec-reporter": "^4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"npm-run-all": "^4.1.5",
"prettier": "1.19.1",
"rimraf": "^3.0.0",
"stylelint": "^12.0.0",
"tslint-language-service": "^0.9.9",
"typescript": "3.4.5"
},
"optionalDependencies": {
"node-sass": "^4.9.3",
"protractor": "~5.4.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1"
}
}

`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.