Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

can't get firebase to properly deploy in Terminal command line #26

@guatambu

Description

@guatambu

hello,

i am running a mac and working on the iOS version of this tutorial.
i cannot seem to get the 'firebase deploy' command line to run properly.
i have been working to on this for the better part of a day to try and fix it, and i believe the error is not on my end. i could be wrong of course.

here is the Terminal error output:

<MY_DIRECTORY_WITH_NO_SPACES_IN_THE_PATH>src (master) $ firebase deploy

=== Deploying to 'friendly-eats-tutorial'...

i deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run build

functions@ build /Users/kellyjohnson/Dropbox/Guata_Dev/DevMountain_iOS/firestore-codelab-extended-swift/functions
tsc

src/index.ts:1:1 - error TS6133: 'functions' is declared but its value is never read.

1 import * as functions from 'firebase-functions';



Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! functions@ build: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the functions@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kellyjohnson/.npm/_logs/2019-05-30T02_20_12_145Z-debug.log

Error: functions predeploy error: Command terminated with non-zero exit code2


any help would be greatly appreciated.

cheers

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions