firebase returning error `
(Use
node --trace-deprecation ...
to show where the warning was created)
i emulators: Starting emulators: database
i database: Database Emulator logging to database-debug.log
i ui: Emulator UI logging to ui-debug.log
! database: database.rules.json:Unable to parse JSON: SyntaxError: Unexpected token ‘<‘, “<!DOCTYPE “… is not valid JSON
! database: Failed to update rules
i emulators: Shutting down emulators.
i ui: Stopping Emulator UI
! Emulator UI has exited upon receiving signal: SIGINT
i database: Stopping Database Emulator
! Database Emulator has exited upon receiving signal: SIGINT
i hub: Stopping emulator hub
i logging: Stopping Logging Emulator
Error: Failed to load initial Database Emulator rules:
database.rules.json:Unable to parse JSON: SyntaxError: Unexpected token ‘<‘, “<!DOCTYPE “… is not valid JSON
rules:
{
"rules": {
".read": true,
".write": false
}
}
searching online
and cheacking logs
sca255 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.