You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2025. It is now read-only.
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.
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
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
src/index.ts:1:1 - error TS6133: 'functions' is declared but its value is never read.
1 import * as functions from 'firebase-functions';