firebase-tools: Can no longer run emulators with --project=dummy

In Version 11.13.0 of firebase-tools (and previous versions), I was able to launch the emulator with firebase emulators:start --import my-backup --inspect-functions --project=dummy

Since upgrading to 11.15.0, I get Error: Deploy target xxx not configured for project dummy. Configure with... (where xxx is a real deployment target).

I don’t want the emulators to start with the same project name as a ‘real’ project (as I was doing previously)…

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 2
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Looks like I missed somewhere we’re making a prod call - reopening this.

I have created a simple sample project that showcases the issue between two versions of firebase-tools.

https://github.com/norkje/firebase-tools-5170

Hi Asko,

Thank you for the suggestion. I tried with ‘demo-’. Unfortunately I get the same error message. I have deployment targets for hosting in my .firebaserc file maybe I should add ‘demo-’ there (as the error message suggests), but that feels wrong…

On Tue, Oct 25, 2022 at 7:02 PM Asko Kauppi @.***> wrote:

Have you tried demo-dummy?

Somewhere in the documentation, Firebase mentions that any locally used projects should be named demo-{something}. This ensures they are not intertwined with the actual Firebase projects online.

— Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-tools/issues/5170#issuecomment-1290224321, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMVSZAOVIOWBHRS4C2W2ATWE6O2ZANCNFSM6AAAAAARNTFHLY . You are receiving this because you authored the thread.Message ID: @.***>