如何在调试控制台中解决Ionic Xcode错误?

时间:2019-02-22 23:44:51

标签: ios xcode ionic-framework ionic3

运行Ionic 3项目时,我会在调试控制台中看到以下错误 该错误可能来自上面的moment.js警告,还是您认为来自其他原因? 我在控制台中看不到任何其他可能触发此错误的错误

有什么方法可以调试吗?

谢谢

2019-02-23 01:11:57.543477+0200 Ads[7246:1831571] WARN: Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11 febr 2019, _f: undefined, _strict: undefined, _locale: [object Object]
ionic://localhost/build/vendor.js:17698:107
configFromString@ionic://localhost/build/vendor.js:19746:38
configFromInput@ionic://localhost/build/vendor.js:19972:29
prepareConfig@ionic://localhost/build/vendor.js:19955:28
createFromConfig@ionic://localhost/build/vendor.js:19922:57
isSame@ionic://localhost/build/vendor.js:20599:63
formatDate@ionic://localhost/build/main.js:4192:25

checkAndUpdateView@ionic://localhost/build/vendor.js:13867:28
callViewAction@ionic://localhost/build/vendor.js:14212:39
execEmbeddedViewsAction@ionic://localhost/build/vendor.js:14170:31
checkAndUpdateView@ionic://localhost/build/vendor.js:13863:28
callViewAction@ionic://localhost/build/vendor.js:14212:39
execEmbeddedViewsAction@ionic://localhost/build/vendor.js:14170:31
checkAndUpdateView@ionic://localhost/build/vendor.js:13863:28
callViewAction@ionic://localhost/build/vendor.js:14212:39
execComponentViewsAction@ionic://localhost/build/vendor.js:14144:27
checkAndUpdateView@ionic://localhost/build/vendor.js:13868:29
callViewAction@ionic://localhost/build/vendor.js:14212:39
execEmbeddedViewsAction@ionic://localhost/build/vendor.js:14170:31
checkAndUpdateView@ionic://localhost/build/vendor.js:13863:28
callViewAction@ionic://localhost/build/vendor.js:14212:39
execComponentViewsAction@ionic://localhost/build/vendor.js:14144:27
checkAndUpdateView@ionic://localhost/build/vendor.js:13868:29
callViewAction@ionic://localhost/build/vendor.js:14212:39
execComponentViewsAction@ionic://localhost/build/vendor.js:14144:27
checkAndUpdateView@ionic://localhost/build/vendor.js:13868:29
callViewAction@ionic://localhost/build/vendor.js:14212:39
execEmbeddedViewsAction@ionic://localhost/build/vendor.js:14170:31
checkAndUpdateView@ionic://localhost/build/vendor.js:13863:28
callViewAction@ionic://localhost/build/vendor.js:14212:39
execComponentViewsAction@ionic://localhost/build/vendor.js:14144:27
checkAndUpdateView@ionic://localhost/build/vendor.js:13868:29
callViewAction@ionic://localhost/build/vendor.js:14212:39
execComponentViewsAction@ionic://localhost/build/vendor.js:14144:27
checkAndUpdateView@ionic://localhost/build/vendor.js:13868:29
callViewAction@ionic://localhost/build/vendor.js:14212:39
execEmbeddedViewsAction@ionic://localhost/build/vendor.js:14170:31
checkAndUpdateView@ionic://localhost/build/vendor.js:13863:28
callViewAction@ionic://localhost/build/vendor.js:14212:39
execComponentViewsAction@ionic://localhost/build/vendor.js:14144:27
checkAndUpdateView@ionic://localhost/build/vendor.js:13868:29
detectChanges@ionic://localhost/build/vendor.js:11654:36
forEach@[native code]
tick@ionic://localhost/build/vendor.js:6140:32
ionic://localhost/build/vendor.js:5973:109
onInvoke@ionic://localhost/build/vendor.js:4983:39
run@ionic://localhost/build/polyfills.js:3:10149
next@ionic://localhost/build/vendor.js:5973:84
ionic://localhost/build/vendor.js:4577:56
__tryOrUnsub@ionic://localhost/build/vendor.js:23205:20
next@ionic://localhost/build/vendor.js:23152:34
_next@ionic://localhost/build/vendor.js:23092:30
next@ionic://localhost/build/vendor.js:23056:23
next@ionic://localhost/build/vendor.js:40918:29
emit@ionic://localhost/build/vendor.js:4557:50
checkStable@ionic://localhost/build/vendor.js:4948:39
onHasTask@ionic://localhost/build/vendor.js:4996:32
hasTask@ionic://localhost/build/polyfills.js:3:15993
_updateTaskCount@ionic://localhost/build/polyfills.js:3:16339
_updateTaskCount@ionic://localhost/build/polyfills.js:3:12428
runTask@ionic://localhost/build/polyfills.js:3:11048
o@ionic://localhost/build/polyfills.js:3:7901
invokeTask@ionic://localhost/build/polyfills.js:3:16824
p@ionic://localhost/build/polyfills.js:2:27654
v@ionic://localhost/build/polyfills.js:2:27894

0 个答案:

没有答案