0
브라우저에 ionic web app를 업로드하려고합니다. 나는 ionic build browser --prod --release
코드를 성공적으로 사용했다. 다음 앱을 성공적으로 업로드했을 때 firebase deploy
을 사용하여 앱을 배포했습니다. 지금 로그인하려고하면 브라우저 콘솔에 오류가 표시됩니다.빌드 파일을 Firebase 호스트에 업로드 한 후 이오닉 오류가 발생 함
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
at __webpack_require__ (main.js:50)
at eval (C:/Users/allud/Code/webApp/src_lazy:44)
at t.invoke (polyfills.js:3)
at Object.onInvoke (C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4354)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4345)
at t.invokeTask (polyfills.js:3)
at __webpack_require__ (main.js:50)
at eval (C:/Users/allud/Code/webApp/src_lazy:44)
at t.invoke (polyfills.js:3)
at Object.onInvoke (C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4354)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4345)
at t.invokeTask (polyfills.js:3)
at c (polyfills.js:3)
at Object.reject (polyfills.js:3)
at NavControllerBase._fireError (C:/Users/allud/Code/webApp/node_modules/ionic-angular/navigation/nav-controller-base.js:327)
at NavControllerBase._failed (C:/Users/allud/Code/webApp/node_modules/ionic-angular/navigation/nav-controller-base.js:315)
at eval (C:/Users/allud/Code/webApp/node_modules/ionic-angular/navigation/nav-controller-base.js:370)
at t.invoke (polyfills.js:3)
at Object.onInvoke (C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4354)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
defaultErrorLogger @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:1289
ErrorHandler.handleError @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:1349
IonicErrorHandler.handleError @ C:/Users/allud/Code/webApp/node_modules/ionic-angular/util/ionic-error-handler.js:65
next @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4983
schedulerFn @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4056
SafeSubscriber.__tryOrUnsub @ C:/Users/allud/Code/webApp/node_modules/rxjs/Subscriber.js:238
SafeSubscriber.next @ C:/Users/allud/Code/webApp/node_modules/rxjs/Subscriber.js:185
Subscriber._next @ C:/Users/allud/Code/webApp/node_modules/rxjs/Subscriber.js:125
Subscriber.next @ C:/Users/allud/Code/webApp/node_modules/rxjs/Subscriber.js:89
Subject.next @ C:/Users/allud/Code/webApp/node_modules/rxjs/Subject.js:55
EventEmitter.emit @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4042
NgZone.triggerError @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4414
onHandleError @ C:/Users/allud/Code/webApp/node_modules/@angular/core/@angular/core.es5.js:4375
t.handleError @ polyfills.js:3
r.runGuarded @ polyfills.js:3
(anonymous) @ polyfills.js:3
n.microtaskDrainDone @ polyfills.js:3
o @ polyfills.js:3
Promise resolved (async)
r @ polyfills.js:3
t.scheduleTask @ polyfills.js:3
onScheduleTask @ polyfills.js:3
t.scheduleTask @ polyfills.js:3
r.scheduleTask @ polyfills.js:3
r.scheduleMicroTask @ polyfills.js:3
f @ polyfills.js:3
c @ polyfills.js:3
(anonymous) @ polyfills.js:3
webpackJsonpCallback @ main.js:22
(anonymous) @ 1.main.js:1
누군가가 문제를 알려주십시오.
당신은 최신 버전으로 https://restroapp-40ae7.firebaseapp.com/
나는 처음으로 웹 앱을 배포하고 있습니다. 내가 아는 한 내 홈 디렉토리 주소를 보여 주므로 내 수입에 문제가있는 것 같습니다. 이 문제를 해결할 방법이 있습니까? –