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.

Requested Node 8 does not match with my Node 12

See original GitHub issue

[REQUIRED] Environment info

firebase-tools: 7.0.2

Platform: macOS

[REQUIRED] Test case:

run firebase serve on terminal

[REQUIRED] Steps to reproduce:

  1. use the source code from https://angulardart.dev/guide/forms#give-visual-feedback-based-on-control-state

  2. follow steps on https://console.firebase.google.com/u/0/project/icasaa-d46fe/overview up to firebase init, then do firebase serve

[REQUIRED] Expected behavior:

no issues

[REQUIRED] Actual behavior:

Your requested “node” version “8” doesn’t match your global version “12”

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
abeisgoatcommented, Jul 10, 2019

This is expected and just a warning to let you know that you’ve set {engines: {node: 8}} in functions/package.json. If you’re concerned, you can use nvm to install an older version of Node, but realistically it probably wont matter.

5reactions
samtsterncommented, Jul 11, 2019

Sorry I think Abe meant for you to downgrade to either Node 8 or 10 not upgrade to 12. Firebase does not yet support Node 12.

On Wed, Jul 10, 2019, 5:06 PM Henry Poit notifications@github.com wrote:

Thanks for the tip, Abe! I made the change to “node”: “12”, however, I still get:

Daves-MBP:forms dave$ firebase serve

=== Serving from ‘/Users/dave/WebstormProjects/forms’…

✔ functions: Using node@12 from host.

i hosting: Serving hosting files from: build/web

✔ hosting: Local server: http://localhost:5000

✔ functions: Emulator started at http://localhost:5001

i functions: Watching “/Users/dave/WebstormProjects/forms/functions” for Cloud Functions…

Error: An unexpected error has occurred.

Having trouble? Try again or contact support with contents of firebase-debug.log

Daves-MBP:forms dave$

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-tools/issues/1489?email_source=notifications&email_token=ACATB2XOZYK5QZQW4TYIIXTP6Z2OPA5CNFSM4H74GJB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZVC4DY#issuecomment-510275087, or mute the thread https://github.com/notifications/unsubscribe-auth/ACATB2V4LPPWGVOBTFZ4VVLP6Z2OPANCNFSM4H74GJBQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - how to change node version? "Your requested "node ...
The message is not indicating an error. It's just letting you know that your package.json declares a target node version of 8, but...
Read more >
Troubleshoot Tableau Server Install and Upgrade
Many Tableau Server issues can be addressed with some basic steps: Make sure there is enough disk space on each computer running Tableau...
Read more >
Node.js Runtime Environment - App Engine - Google Cloud
The Node.js runtime is the software stack responsible for installing your web service's code and its dependencies and running your service. The Node.js ......
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
For example, a request from Node.js to the database engine to fetch some document is what allows Node.js to focus on some other...
Read more >
CommonJS modules | Node.js v19.3.0 Documentation
Careful planning is required to allow cyclic module dependencies to work correctly within an application. File modules#. If the exact filename is not...
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