Issue
% firebase emulators:start
i emulators: Starting emulators: functions, firestore
⚠ emulators: It seems that you are running multiple instances of the emulator suite for project ihp-test-6198e. This may result in unexpected behavior.
⚠ functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, database, hosting, pubsub, storage
✔ functions: Using node@16 from host.
i emulators: Shutting down emulators.
i functions: Stopping Functions Emulator
i hub: Stopping emulator hub
⚠ firestore: Port 8080 is not open on localhost, could not start Firestore Emulator.
⚠ firestore: To select a different host/port, specify that host/port in a firebase.json config file:
{
// ...
"emulators": {
"firestore": {
"host": "HOST",
"port": "PORT"
}
}
}
i emulators: Shutting down emulators.
Error: Could not start Firestore Emulator, port taken.
종료되지 않은 에뮬레이터가 있기 때문에 에뮬레이터를 시작했을때 문제가 되는 것이다. 그래서 기존에 띄운 에뮬레이터를 종료시키고 다시 재기동 시키면 된다.
solution
lsof -ti tcp:8080 | xargs kill
참고
반응형