skip to Main Content

Firebase – Unable to Deploy Cloud Functions – Permission denied to enable service [artifactregistry.googleapis.com]

I'm trying to deploy the default test function to check that everything works. const functions = require("firebase-functions"); exports.helloWorld = functions.https.onRequest((request, response) => { functions.logger.info("Hello logs!", {structuredData: true}); response.send("Hello from Firebase!"); }); But when I run firebase deploy or firebase deploy…

VIEW QUESTION

Firebase Callable Cloud Function CORS Error using Firebase Emulator and Vite

The following is the client-side code to call the cloud function: // add a new post addPostForm.addEventListener('click', (e) => { e.preventDefault(); const addPost = httpsCallable(functions, 'addPost'); addPost({ title: addPostForm.postTitle.value, description: addPostForm.postDescription.value, }) .then(() => { addPostForm.reset(), addPostModal.classList.remove('open'); addPostForm.querySelector('.error').textContent = '';…

VIEW QUESTION
Back To Top
Search