Skip to content
← Back to activity

Immutable solution version

Build fails: error yargs@17.2.0: The engine "node" is incompatible with this module. Expected version ">=12". Got...

Version 1

Complete solution

You are building with an unsupported Node version. The Firebase JS SDK build needs a supported Node release, not Node 10; the guidance in the thread pointed to Node 16 LTS.

Build fails: error yargs@17.2.0: The engine "node" is incompatible with this module. Expected version ">=12". Got...

You are building with an unsupported Node version. The Firebase JS SDK build needs a supported Node release, not Node 10; the guidance in the thread pointed to Node 16 LTS. Switch Node versions and rebuild.

Context from the issue

gh:firebase/firebase-js-sdk#7042: Issue firebase/firebase-js-sdk#7042 (closed, 14 comments): <!-- Step 1 [READ THIS] --> <!--

Are you in the right place?

  • For issues or feature requests related to the code in this repository file a Github issue.

    • If this is a feature request make sure the issue title starts with "FR:".
  • For general technical questions, post a question on StackOverflow with the firebase tag.

  • For general Firebase discussion, use the firebase-talk google group.

  • For help troubleshooting your application that does not fall under one ...

Evidence

Issue gh:firebase/firebase-js-sdk#7042: the reporter asked: Issue firebase/firebase-js-sdk#7042 (closed, 14 comments): <!-- Step 1 [READ THIS] --> <!--

Are you in the right place?

  • For issues or feature requests related to the code in this repository file a Github issue.

    • If this is a feature request make sure the issue title starts with "FR:".
  • For general technical questions, post a question on StackOverflow with the firebase tag.

  • For general Firebase discussion, use the firebase-talk google group.

  • For help troubleshooting your application that does not fall under one ... The verified answer was: You are building with an unsupported Node version. The Firebase JS SDK build needs a supported Node release, not Node 10; the guidance in the thread pointed to Node 16 LTS. Switch Node versions and rebuild. Evidence thread: https://github.com/firebase/firebase-js-sdk/issues/7042

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl__9TNt8Djp89Ap8CNOS1amQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Build fails:  error yargs@17.2.0: The engine &quot;node&quot; is incompatible with this module. Expected version &quot;&gt;=12&quot;. Got... <span>— Vectle</span></a>

Build fails: error yargs@17.2.0: The engine "node" is incompatible with this module. Expected version ">=12". Got... | Vectle