Advertisement
Guest User

Firebase Emulators + Jest + Jsdom + Create React App Error

a guest
Mar 8th, 2021
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. Error: Uncaught [TypeError: this.timerId.unref is not a function]
  2. at reportException (/Users/matthewkinton/Dev/firestore-test/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:62:24)
  3. at Timeout.task [as _onTimeout] (/Users/matthewkinton/Dev/firestore-test/node_modules/jsdom/lib/jsdom/browser/Window.js:396:9)
  4. at listOnTimeout (internal/timers.js:549:17)
  5. at processTimers (internal/timers.js:492:7) TypeError: this.timerId.unref is not a function
  6. at BackoffTimeout.unref (/Users/matthewkinton/Dev/firestore-test/node_modules/@grpc/grpc-js/src/backoff-timeout.ts:117:18)
  7. at new ResolvingLoadBalancer (/Users/matthewkinton/Dev/firestore-test/node_modules/@grpc/grpc-js/src/resolving-load-balancer.ts:199:25)
  8. at new ChannelImplementation (/Users/matthewkinton/Dev/firestore-test/node_modules/@grpc/grpc-js/src/channel.ts:242:34)
  9. at new Client (/Users/matthewkinton/Dev/firestore-test/node_modules/@grpc/grpc-js/src/client.ts:146:30)
  10. at new ServiceClientImpl (/Users/matthewkinton/Dev/firestore-test/node_modules/@grpc/grpc-js/src/make-client.ts:128:3)
  11. at GrpcConnection.Object.<anonymous>.GrpcConnection.ensureActiveStub (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/firestore/src/platform/node/grpc_connection.ts:90:25)
  12. at GrpcConnection.Object.<anonymous>.GrpcConnection.openStream (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/firestore/src/platform/node/grpc_connection.ts:175:23)
  13. at PersistentWriteStream.Object.<anonymous>.PersistentWriteStream.startRpc (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/firestore/src/remote/persistent_stream.ts:710:28)
  14. at PersistentWriteStream.Object.<anonymous>.PersistentStream.startStream (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/firestore/src/remote/persistent_stream.ts:443:24)
  15. at call (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/firestore/src/remote/persistent_stream.ts:420:16)
  16. at call (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/node_modules/google-closure-library/closure/goog/promise/promise.js:826:22)
  17. at goog.Promise.invokeCallback_ (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/node_modules/google-closure-library/closure/goog/promise/promise.js:1166:5)
  18. at executeCallback_ (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/node_modules/google-closure-library/closure/goog/promise/promise.js:1140:5)
  19. at D.call [as gc] (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/node_modules/google-closure-library/closure/goog/promise/promise.js:1111:5)
  20. at xc (/Users/matthewkinton/Dev/firestore-test/node_modules/@firebase/node_modules/google-closure-library/closure/goog/async/run.js:124:7)
  21. at processTicksAndRejections (internal/process/task_queues.js:97:5)
  22.  
  23. at VirtualConsole.<anonymous> (node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
  24. at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:28)
  25. at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:396:9)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement