> require('firebase/app')
ReferenceError: firebase is not defined
var config = {
apiKey: "<secret>",
authDomain: "blah.firebaseapp.com",
databaseURL: "https://blah.firebaseio.com",
storageBucket: "blah.appspot.com",
};
var fb = firebase.initializeApp(config);
throw new Error('Invalid service account provided');
^
Error: Invalid service account provided
at new Auth (/Users/dascher1/src/participedia/pp3/node_modules/firebase/auth-node/auth.js:61:11)
at Object.serviceFactory [as auth] (/Users/dascher1/src/participedia/pp3/node_modules/firebase/auth-node/index.js:14:14)
at F.u (/Users/dascher1/src/participedia/pp3/node_modules/firebase/app-node.js:14:94)
at /Users/dascher1/src/participedia/pp3/node_modules/firebase/auth-node/index.js:31:9
at /Users/dascher1/src/participedia/pp3/node_modules/firebase/app-node.js:11:272
at Array.forEach (native)
at Object.e.initializeApp (/Users/dascher1/src/participedia/pp3/node_modules/firebase/app-node.js:11:245)
at Object.<anonymous> (/Users/dascher1/src/participedia/pp3/algolia.js:14:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/6e7b8bfd-c60e-410e-829d-965006b03aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
const firebase = require('firebase');const firebaseConfig = {
apiKey: "<key>",
authDomain: "<domain",
databaseURL: "<dburl>",
storageBucket: "<bucket>"
};
firebase.initializeApp(firebaseConfig);
Error: Invalid service account provided
at new Auth (/Users/jarbot2/Documents/git/blackbook/node_modules/firebase/auth-node/auth.js:61:11)
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/7c9d1f31-d0d4-4acd-a0c6-99bc971f3fcc%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/b23cfb9f-7571-4bc7-9f03-0580e9db4e77%40googlegroups.com.