I am trying to follow the firebase Node tutorial: https://www.firebase.com/docs/web/quickstart.html
My node.js app is crashing with a "TypeError: Firebase is not a function" error. My index.js file:
var Firebase = require("firebase");
var firebaseRef = new Firebase("https://word-word-number.firebaseio.com/");
Line two is where the crash happens.
In my package.json I have:
"firebase": "^3.0.2",
and
"node": "5.11.0"