Skip to content

Pub/Sub Emulator has exited with code: 1 #5614

@Ruisi-Lu

Description

@Ruisi-Lu

[REQUIRED] Environment info

firebase-tools: 11.24.1
Node.js: v16.19.1
Java: OpenJDK 11.0.18

Platform: macOS13.2.1 M1

[REQUIRED] Test case

Run firebase emulators:start --only pubsub

[REQUIRED] Actual behavior

i  emulators: Starting emulators: pubsub
i  pubsub: Pub/Sub Emulator logging to pubsub-debug.log
⚠  pubsub: Fatal error occurred: 
   Pub/Sub Emulator has exited with code: 1, 
   stopping all running emulators
i  pubsub: Stopping Pub/Sub Emulator
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
⚠  pubsub: Error stopping Pub/Sub Emulator
i  hub: Stopping emulator hub
// pubsub-debug.log
Error: Invalid or corrupt jarfile /Users/ruisi/.cache/firebase/emulators/pubsub-emulator-0.7.1/pubsub-emulator/lib/cloud-pubsub-emulator-0.7.1.jar

I have tried to manually delete cloud-pubsub-emulator-0.7.1.jar, and use firebase setup:emulators:pubsub to reinstall.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions