You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the Attribution Reporting demo setup instructions as documented: Step 2 in "Running locally" should start up the demo as documented.
Actual Behavior
The firebase command firebase emulators:start --project none fails with this error:
(node:76916) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
⚠ emulators: You are not currently authenticated so some features may not work correctly. Please run firebase login to authenticate the CLI.
i emulators: Starting emulators: functions, hosting, extensions
⬢ extensions: Unable to look up project number for none.
If this is a real project, ensure that you are logged in and have access to it.
If this is a fake project, please use a project ID starting with 'demo-' to skip production calls.
Continuing with a fake project number - secrets and other features that require production access may behave unexpectedly.
⚠ emulators: It seems that you are running multiple instances of the emulator suite for project none. This may result in unexpected behavior.
⚠ functions: The functions emulator is configured but there is no functions source directory. Have you run firebase init functions?
⚠ hosting: Could not fetch web app configuration and there is no cached configuration on this machine. Check your internet connection and make sure you are authenticated. To continue, you must call firebase.initializeApp({...}) in your code before using Firebase.
i hosting[arapi-home]: Serving hosting files from: sites/home
✔ hosting[arapi-home]: Local server: http://127.0.0.1:8080
i hosting[arapi-adtech]: Serving hosting files from: sites/adtech
✔ hosting[arapi-adtech]: Local server: http://127.0.0.1:8085
i hosting[arapi-advertiser]: Serving hosting files from: sites/advertiser
✔ hosting[arapi-advertiser]: Local server: http://127.0.0.1:8086
i hosting[arapi-publisher]: Serving hosting files from: sites/publisher
✔ hosting[arapi-publisher]: Local server: http://127.0.0.1:8087
Error: Extensions Emulator is running but Functions emulator is not. This should never happen.
Having trouble? Try firebase [command] --help
Steps to Reproduce the Problem
Install Node through NVM as documented in the attribution-reporting README
npm install -g firebase-tools
npm install in the attribution-reporting/functions folder
firebase emulators:start --project none in the attribution-reporting folder
There might also be a mismatch between newer firebase (requires Node 18 or newer) and attribution-reporting/functions, which produces this error when attempting to npm install with Node 22:
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '[email protected]',
npm warn EBADENGINE required: { node: '14' },
npm warn EBADENGINE current: { node: 'v22.11.0', npm: '10.9.0' }
npm warn EBADENGINE }
I can build attribution-reporting/functions with node 14, but cannot run the firebase CLI with that node version.
Expected Behavior
Following the Attribution Reporting demo setup instructions as documented: Step 2 in "Running locally" should start up the demo as documented.
Actual Behavior
The firebase command
firebase emulators:start --project none
fails with this error:Steps to Reproduce the Problem
npm install -g firebase-tools
npm install
in the attribution-reporting/functions folderfirebase emulators:start --project none
in the attribution-reporting folderThere might also be a mismatch between newer firebase (requires Node 18 or newer) and attribution-reporting/functions, which produces this error when attempting to
npm install
with Node 22:I can build attribution-reporting/functions with node 14, but cannot run the firebase CLI with that node version.
Specifications
The text was updated successfully, but these errors were encountered: