question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

checkForNode8 is not a function

See original GitHub issue

[REQUIRED] Environment info

firebase-tools: 9.0.0

Platform: macOS Big Sur

[REQUIRED] Test case

Deploy firebase functions

[REQUIRED] Steps to reproduce

firebase deploy --only functions

[REQUIRED] Expected behavior

deploy completed without errors

[REQUIRED] Actual behavior

✔ functions[testProcessManual(us-central1)]: Successful update operation.

Error: An unexpected error has occurred.

end of firebase-debug.log:

[debug] [2020-12-16T07:32:37.804Z] <<< HTTP RESPONSE 200 {"content-type":"application/json; charset=UTF-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","date":"Wed, 16 Dec 2020 07:32:37 GMT","server":"ESF","cache-control":"private","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"}
[info] ✔  functions[testProcessManual(us-central1)]: Successful update operation.  
[debug] [2020-12-16T07:32:37.806Z] TypeError: checkForNode8 is not a function
    at /usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/release.js:413:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:93:5)
[error] 
[error] Error: An unexpected error has occurred.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:19
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

20reactions
samtsterncommented, Dec 16, 2020

The fix is here: https://github.com/firebase/firebase-tools/pull/2945

We should hopefully be able to get 9.0.1 out today with a fix (once the San Francisco folks wake up!)

7reactions
bkendallcommented, Dec 16, 2020

This has shipped in v9.0.1!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: checkForNode8 is not a function - Stack Overflow
I get TypeError: checkForNode8 is not a function when I try to run firebase deploy to deploy my cloud functions on a new...
Read more >
How to solve the "is not a function" error in JavaScript
js we use require() to load external modules and files. This can cause, in some cases, an error like this: TypeError: require(...) is...
Read more >
Typeerror: Object(..) Is Not A Function At Inapppurchase2.Get
is not a function however for my purpose I need just read and the ... HTTP functions would crash when the URL contained...
Read more >
Release Notes | Firebase - Google
This release comes with a new feature in Cloud Firestore along with other changes and ... Fixed "checkForNode8 is not a function" issue...
Read more >
问答- 腾讯云开发者社区-腾讯云
... 错误: TypeError: firebase_compat_app__WEBPACK_IMPORTED_MODULE_4__.default.auth is not a function React将这一行指向错误: const auth = firebase.auth();.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found