400 Billing account for project is not found. Billing must be enabled for activation of service(s)

后端 未结 9 514
故里飘歌
故里飘歌 2021-02-05 00:31

I am create API with firebase via this tutorial here.

On I run:

firebase deploy

I get this error on the command line:

9条回答
  •  暖寄归人
    2021-02-05 01:14

    This is a example of scheduler , but this will not work in free account . Billing must be enabled for activation of service(s) 'cloudscheduler.googleapis.com' to proceed.

    import * as functions from 'firebase-functions';
    import {db, notificationSentEvent, deviceData} from './init';
    
    export const dailyDelete = functions.pubsub.schedule( '10 1 * * *' ).onRun(context => {
        console.log('At 01:10');
    })
    

提交回复
热议问题