DOMException:无法在'XMLHttpRequest'上执行'open':无效的URL

时间:2019-06-12 07:40:36

标签: javascript angular typescript angular-cli angular-cli-v6

我将角度v6更新为角度v8,将角度版本8更新为运行项目后,显示错误。 core.js:5847 ERROR DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL at http://192.168.10.180:4200/polyfills.js:8566:31 at XMLHttpRequest.proto.<computed> [as open] (http://192.168.10.180:4200/polyfills.js:6697:24) at Observable._subscribe (http://192.168.10.180:4200/vendor.js:29318:17) at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe (http://192.168.10.180:4200/vendor.js:133894:25) at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe (http://192.168.10.180:4200/vendor.js:133880:22) at subscribeToResult (http://192.168.10.180:4200/vendor.js:145294:23) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._innerSub (http://192.168.10.180:4200/vendor.js:139828:90) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://192.168.10.180:4200/vendor.js:139822:14) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (http://192.168.10.180:4200/vendor.js:139805:18) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (http://192.168.10.180:4200/vendor.js:134512:18)

0 个答案:

没有答案