skip to Main Content

Error in Firebase Functions after deploying Nuxt 3 app + VueFire

I recently encountered this error after deploying my Nuxt app to Firebase. Error: Failed to read credentials from file service-account.json: Error: ENOENT: no such file or directory, open 'service-account.json' at .readCredentialFile ( /workspace/node_modules/firebase-admin/lib/app/credential-internal.js:507 ) at .credentialFromFile ( /workspace/node_modules/firebase-admin/lib/app/credential-internal.js:480 ) at…

VIEW QUESTION

Javascript – Vue3 @input function not getting called on autocomplete text input field

I have this code snippet in a Vue3 component: <v-row v-for="(target, targetIndex) in targetModules" :key="targetIndex" > <v-autocomplete v-model="targetModules[targetIndex]['modulName']" :items="moduleNamesAndEcts.map(module => module.name)" :rules="rules.text" label="Module" item-text="name" item-value="name" @input="(newModuleName) => updateEcts(newModuleName, targetIndex)" /> </v-row> The function is: const updateEcts = (newModuleName, targetIndex) =>…

VIEW QUESTION
Back To Top
Search