What is the correct way to update Firebase Emulators after upgrading your local Node version?
After recently updating Node, the Firebase emulator throws the following warning when starting up:
Your requested "node" version "16" doesn't match your global version "18". Using node@18 from host.
The emulators still run without issue, but I'd like to prevent the warning going forward.
So far I've tried:
- Deleting the
yarn/package.lock
file +node_modules
- Then (re)running
firebase init
- Firebase docs: "This command starts a configuration wizard that lets you select emulators of interest, download the corresponding emulator binary files..."
- Also suggested in this question
- Then reinstalling the npm modules (i.e.,
yarn / npm -i
)