bradtraversy / vue_firestore_employeemanager

Employee manager app built on Vue.js and FireStore
132 stars 67 forks source link

When linking my employee-manager app with firebase and running it, I'm getting the following errors: #2

Open anupamshah0480 opened 6 years ago

anupamshah0480 commented 6 years ago

index.esm.js?7e32:77 [2018-06-25T21:17:44.005Z] : Firestore (5.0.4): The behavior for Date objects stored in Firestore is going to change AND YOUR APP MAY BREAK. To hide this warning and ensure your app does not break, you need to add the following code to your app before calling any other Cloud Firestore methods:

const firestore = firebase.firestore(); const settings = {/ your settings... / timestampsInSnapshots: true}; firestore.settings(settings);

With this change, timestamps stored in Cloud Firestore will be read back as Firebase Timestamp objects instead of as system Date objects. So you will also need to update code expecting a Date to instead expect a Timestamp. For example:

// Old: const date = snapshot.get('created_at'); // New: const timestamp = snapshot.get('created_at'); const date = timestamp.toDate();

Please audit all existing usages of Date when you enable the new behavior. In a future release, the behavior will change to the new behavior, so if you do not follow these steps, YOUR APP MAY BREAK. defaultLogHandler @ index.esm.js?7e32:77 vue.esm.js?efeb:8555 Download the Vue Devtools extension for a better development experience: https://github.com/vuejs/vue-devtools localhost:8080/sockjs-node/info?t=1529961464157:1 Failed to load resource: net::ERR_CONNECTION_REFUSED index.js?bed3:176 [WDS] Disconnected! close @ index.js?bed3:176 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ index.js?bed3:211 (anonymous) @ index.js?http://localhost:8080:254 ./node_modules/webpack-dev-server/client/index.js?http://localhost:8080 @ app.js:1090 webpack_require @ app.js:679 fn @ app.js:89 0 @ app.js:1249 webpack_require @ app.js:679 (anonymous) @ app.js:725 (anonymous) @ app.js:728 localhost:8080/sockjs-node/info?t=1529961465238:1 Failed to load resource: net::ERR_CONNECTION_REFUSED localhost:8080/sockjs-node/info?t=1529961467316:1 Failed to load resource: net::ERR_CONNECTION_REFUSED sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1529961471411 0 () AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ index.js?bed3:211 (anonymous) @ index.js?http://localhost:8080:254 ./node_modules/webpack-dev-server/client/index.js?http://localhost:8080 @ app.js:1090 webpack_require @ app.js:679 fn @ app.js:89 0 @ app.js:1249 webpack_require @ app.js:679 (anonymous) @ app.js:725 (anonymous) @ app.js:728 sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1529961479435 0 () AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ index.js?bed3:211 (anonymous) @ index.js?http://localhost:8080:254 ./node_modules/webpack-dev-server/client/index.js?http://localhost:8080 @ app.js:1090 webpack_require @ app.js:679 fn @ app.js:89 0 @ app.js:1249 webpack_require @ app.js:679 (anonymous) @ app.js:725 (anonymous) @ app.js:728 sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1529961495520 0 () AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ index.js?bed3:211 (anonymous) @ index.js?http://localhost:8080:254 ./node_modules/webpack-dev-server/client/index.js?http://localhost:8080 @ app.js:1090 webpack_require @ app.js:679 fn @ app.js:89 0 @ app.js:1249 webpack_require @ app.js:679 (anonymous) @ app.js:725 (anonymous) @ app.js:728 sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1529961527582 0 () AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ index.js?bed3:211 (anonymous) @ index.js?http://localhost:8080:254 ./node_modules/webpack-dev-server/client/index.js?http://localhost:8080 @ app.js:1090 webpack_require @ app.js:679 fn @ app.js:89 0 @ app.js:1249 webpack_require @ app.js:679 (anonymous) @ app.js:725 (anonymous) @ app.js:728 sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1529961594148 0 () AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 setTimeout (async) onclose @ socket.js?57b2:31 EventTarget.dispatchEvent @ sockjs.js?3600:170 (anonymous) @ sockjs.js?3600:965 setTimeout (async) SockJS._close @ sockjs.js?3600:953 SockJS._receiveInfo @ sockjs.js?3600:786 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:567 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 (anonymous) @ sockjs.js?3600:374 g @ sockjs.js?3600:66 EventEmitter.emit @ sockjs.js?3600:86 xhr.onreadystatechange @ sockjs.js?3600:1593 XMLHttpRequest.send (async) AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRCorsObject @ sockjs.js?3600:2867 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:539 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 initSocket @ socket.js?57b2:9 (anonymous) @ socket.js?57b2:32 sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1529961726147 0 ()

keithkk commented 6 years ago

I had the same warning message. I copy and pasted the code in the warning message into the main.js template. The warning went away and the code is available before other Cloud Firestore methods would run on individual pages or templates, provided you don't have other Cloud Firestore methods on the main.js template above where you would paste in what the warning message provides..