skip to Main Content

Firebase functions Error: Cannot find module 'diagnostics' – Woocommerce

I keep seeing this error when I run firebase deploy --only functions in my functions directory. I get this: Error: Cannot find module 'diagnostics' Require stack: - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolsnode_moduleswinstonlibwinstonexception-handler.js - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolsnode_moduleswinstonlibwinstonlogger.js - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolsnode_moduleswinstonlibwinstoncreate-logger.js - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolsnode_moduleswinstonlibwinston.js - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolsliblogger.js - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolslibindex.js - C:UsersJohnsonAppDataRoamingnvmv12.16.1node_modulesfirebase-toolslibbinfirebase.js…

VIEW QUESTION

Failed to connect with redis in node.js

I am trying to connect with redis(of docker instance) using express(node.js). Here is my index.ts file in which i am trying to connect with redis import mongoose from 'mongoose' import express from 'express' import session from 'express-session' import connectRedis from…

VIEW QUESTION
Back To Top
Search