New filters on the Home Feed, take a look!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
Help!! I installed @latest and now have errors
Post Body

Hi,

I have just run the following in my app/functions directory and now get errors when running firebase deploy --only functions

npm install firebase-functions@latest firebase-admin@latest --save

npm install -g firebase-tools

The errors I see are;

node_modules/@types/node/index.d.ts:97:11 - error TS2300: Duplicate identifier 'IteratorResult'.

97 interface IteratorResult<T> { }

node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6

41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;

'IteratorResult' was also declared here.

node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.

41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;

node_modules/@types/node/index.d.ts:97:11

97 interface IteratorResult<T> { }

'IteratorResult' was also declared here.

Found 2 errors.

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.

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 4 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago