Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Error while connecting to the local server #98

@shivensinha4

Description

@shivensinha4

When I change the database URL of my Firebase config to the local URL, I get this error:
Error: FIREBASE FATAL ERROR: test.firebase.localhost is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead at Error (native) at Sb (C:\Users\HOME-PC\Desktop\webdev\chat\node_modules\firebase\database-node.js:51:277) at Tb (C:\Users\HOME-PC\Desktop\webdev\chat\node_modules\firebase\database-node.js:52:494) at Object.firebase.INTERNAL.registerService.Reference [as database] (C:\Users\HOME-PC\Desktop\webdev\chat\node_modules\firebase\database-node.js:256:241) at FirebaseAppImpl._getService (C:\Users\HOME-PC\Desktop\webdev\chat\node_modules\firebase\app\firebase_app.js:138:70) at FirebaseAppImpl.(anonymous function) [as database] (C:\Users\HOME-PC\Desktop\webdev\chat\node_modules\firebase\app\firebase_app.js:297:39) at Object.serviceNamespace [as database] (C:\Users\HOME-PC\Desktop\webdev\chat\node_modules\firebase\app\firebase_app.js:281:40) at module.exports (C:\Users\HOME-PC\Desktop\webdev\chat\server\socketEvents.js:14:27) at Object.<anonymous> (C:\Users\HOME-PC\Desktop\webdev\chat\server.js:20:1) at Module._compile (module.js:570:32)
My config currently is
var config = { databaseURL: "ws://test.firebase.localhost" };
What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions