I've tried to set up Firebase Local Emulator Suite on Next.js app by following the tutorial on Firebase docs. But when I run:
$ firebase emulators:start
My terminal returned an error:
⚠ emulators: Support for Java version <= 10 will be dropped soon in firebase-tools@11. Please upgrade to Java version 11 or above to continue using the emulators.
i emulators: Starting emulators: auth, functions, firestore, database, hosting, pubsub, storage
⚠ Your requested "node" version "16" doesn't match your global version "17". Using node@17 from host.
i firestore: Firestore Emulator logging to firestore-debug.log
i emulators: Shutting down emulators.
i functions: Stopping Functions Emulator
i firestore: Stopping Firestore Emulator
i hub: Stopping emulator hub
Error: TIMEOUT: Port 8080 on localhost was not active within 60000ms
Here's my localhost:8080