Skip to content

Cloud Functions Setup #25

Closed
Closed
@ScottYelich

Description

@ScottYelich

Following README.md

firebase deploy --only functions

=== Deploying to 'fluttergramdemo'...

i deploying functions
i functions: ensuring necessary APIs are enabled...
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...

Error: Error parsing triggers: Cannot find module './notificationHandler'

Try running "npm install" in your functions directory before deploying.


cd functions && npm install
npm WARN firebase-functions@2.1.0 requires a peer of firebase-admin@~6.0.0 but none is installed. You must install peer dependencies yourself.

audited 4170 packages in 2.042s
found 0 vulnerabilities


firebase deploy --only functions

=== Deploying to 'fluttergramdemo'...

i deploying functions
i functions: ensuring necessary APIs are enabled...
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...

Error: Error parsing triggers: Cannot find module './notificationHandler'

Try running "npm install" in your functions directory before deploying.

Having trouble? Try firebase deploy --help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions