Issue Installing Dependencies Due to Node Version Incompatibility

Hi everyone,

I attempted to install the @google-cloud/bigquery package by adding it to my package.json file in my Gadget application. After updating the file, I ran the yarn install command. However, I encountered the following error:
error vite@7.1.12: The engine "node" is incompatible with this module.
Expected version "^20.19.0 || >=22.12.0". Got "20.12.2".
To troubleshoot, I removed the @google-cloud/bigquery dependency from my package.json and ran yarn install again, but the same error persisted.

Could someone please help me understand why this issue continues even after removing the package, and how I can resolve it?

Thank you in advance!
Screenshot_from_2025-10-23_18-57-45.png
Was this page helpful?