Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about google-cloud-pubsub-emulator

Read more about google-cloud-pubsub-emulator

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - google-cloud-pubsub-emulator

PubSub testing in NodeJS testing with Emulator fails - requires a project but doesn't set one

I'm trying to test the PubSub emissions locally on my NodeJS app. I'm following these tutorials: https://cloud.google.com/pubsub/docs/emulator - setting the Emulator https://cloud.google.com/functions...
test-img

tomwe

node.js

unit-testing

google-cloud-pubsub

google-cloud-pubsub-emulator

Votes: 0

Answers: 1

Latest Answer

You need first to start the emulator with this code: gcloud beta emulators pubsub start --project=test Then, you need to run your code. If you didn’t start the emulator, you’ll get this error: The st...
test-img

Raul Saucedo

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved