I was going through google's tutorial for their action, while trying to make some modifications to suit what I was trying to do. When I run the terminal command 'firebase deploy', after a bit of processing my terminal will say: "Error parsing triggers: Cannot find module 'actions-on-google'. Try running npm-install in your functions directory before deploying.
I have run npm-install in the functions directory, but have had no luck in getting this to work.
Here is the top bit of code in my index.js file:
'use strict';
process.env.DEBUG = 'actions-on-google:*';
const {DialogflowApp} = require('actions-on-google');
const functions = require('firebase-functions');
exports.echoNumber = functions.https.onRequest((req, res) => {
const app = new DialogflowApp({request: req, response: res});