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

Firebase functions: Can not read property https of undefined – Shopify

During firebase deploy in terminal, I get an error on this line: // index.js in the output folder const firebase_functions_1 = __importDefault(require("firebase-functions")); exports.buyUsedServer = firebase_functions_1.default.https.onRequest(express); // index.ts in the source folder import firebaseFunctions from 'firebase-functions'; export const buyUsedServer = firebaseFunctions.https.onRequest(express);…

VIEW QUESTION
Back To Top
Search