I'm posting here first because this seems more likely to be operator error than an actual bug with the firebase CLI itself since I've not been able to find anyone with the same problem I'm experiencing.
I'm running:
- firebase-tools 4.2.1
- node 6.14.4
When I call firebase serve --only functions
I'm not seeing the same results that I've seen posted across the internet. Rather than:
i functions: {some more info + url here}
+ functions: {url}
I'm only seeing:
i functions:
When I switch the command to firebase serve --only functions,hosting
I can see the valid values coming back as I would expect for the hosting details and the index.html page appears to be getting served:
i functions:
i hosting[{firebase-project-site}]:
+ hosting[{firebase-project-site}]: Local server: http://localhost:5000
Edit: Including index.js
const functions = require('firebase-functions');
exports.helloWorld = functions.https.onRequest((request, response) => {
response.send("Hello from Firebase!");
});
Am I missing an initialization step here for cloud functions that is preventing them from starting locally? At this point I can't even get a basic hello world to work.