npm start doesn't start a game but opens a broken page that complains about parsing firebase DB url
What I did
Followed the instructions in Readme, then created firebase project and realtime database in it.
Got a realtime database URL. The URL it gave me did not end in .firebaseio.com, but instead it ended with .firebasedatabase.app.
Changed fbConfig in constants.ts including the https://<unique_url>.firebasedatabase.app
npm start
Opened a page in browser
I'm using:
Windows 10.
node v10.24.1
Error text
Error: Uncaught (in promise): Error: FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com
Error: FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com
at fatal (http://localhost:8100/build/vendor.js:186235:11)
at parseRepoInfo (http://localhost:8100/build/vendor.js:187161:9)
at RepoManager.databaseFromApp (http://localhost:8100/build/vendor.js:200948:25)
at instance.INTERNAL.registerService.Reference [as database] (http://localhost:8100/build/vendor.js:201293:130)
at FirebaseAppImpl._getService (http://localhost:8100/build/vendor.js:122121:66)
at firebaseAppImpl.<computed> [as database] (http://localhost:8100/build/vendor.js:122326:31)
at http://localhost:8100/build/vendor.js:124219:24
at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
at r.run (http://localhost:8100/build/polyfills.js:3:10143)
at NgZone.runOutsideAngular (http://localhost:8100/build/vendor.js:5033:69)
at c (http://localhost:8100/build/polyfills.js:3:19752)
at Object.reject (http://localhost:8100/build/polyfills.js:3:19174)
at NavControllerBase._fireError (http://localhost:8100/build/vendor.js:59974:16)
at NavControllerBase._failed (http://localhost:8100/build/vendor.js:59967:14)
at http://localhost:8100/build/vendor.js:60014:59
at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
at Object.onInvoke (http://localhost:8100/build/vendor.js:5085:33)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14916)
at r.run (http://localhost:8100/build/polyfills.js:3:10143)
at http://localhost:8100/build/polyfills.js:3:20242
TL;DR
npm start
doesn't start a game but opens a broken page that complains about parsing firebase DB urlWhat I did
.firebasedatabase.app
.constants.ts
including thehttps://<unique_url>.firebasedatabase.app
npm start
I'm using:
Error text