Open
Description
When I do firebase deploy
I get the following:
=== Deploying to 'fireapp-a85bd'...
i deploying functions, hosting
Running command: npm --prefix "$RESOURCE_DIR" run lint
> functions@ lint /Users/x/Sites/firestarter/functions
> tslint --project tsconfig.json
Running command: npm --prefix "$RESOURCE_DIR" run build
> functions@ build /Users/x/Sites/firestarter/functions
> tsc
../node_modules/@types/blob-util/index.d.ts:13:71 - error TS2304: Cannot find name 'Blob'.
13 export function createBlob(parts: any[], options?: { type: string }): Blob;
~~~~
../node_modules/@types/blob-util/index.d.ts:18:39 - error TS2304: Cannot find name 'Blob'.
18 export function createObjectURL(blob: Blob): string;
~~~~
../node_modules/@types/blob-util/index.d.ts:28:42 - error TS2304: Cannot find name 'Blob'.
28 export function blobToBinaryString(blob: Blob): Promise<string>;
~~~~
../node_modules/@types/blob-util/index.d.ts:34:76 - error TS2304: Cannot find name 'Blob'.
34 export function binaryStringToBlob(binary: string, type?: string): Promise<Blob>;
~~~~
../node_modules/@types/blob-util/index.d.ts:39:42 - error TS2304: Cannot find name 'Blob'.
39 export function blobToBase64String(blob: Blob): Promise<string>;
~~~~
../node_modules/@types/blob-util/index.d.ts:45:76 - error TS2304: Cannot find name 'Blob'.
45 export function base64StringToBlob(base64: string, type?: string): Promise<Blob>;
~~~~
../node_modules/@types/jquery/index.d.ts:7898:20 - error TS2304: Cannot find name 'Event'.
7898 originalEvent: Event;
~~~~~
../node_modules/@types/jquery/index.d.ts:7908:20 - error TS2304: Cannot find name 'Element'.
7908 relatedTarget: Element;
~~~~~~~
../node_modules/@types/jquery/index.d.ts:7928:13 - error TS2304: Cannot find name 'Element'.
7928 target: Element;
~~~~~~~
../node_modules/@types/mocha/index.d.ts:36:13 - error TS2300: Duplicate identifier 'describe'.
36 declare var describe: Mocha.IContextDefinition;
~~~~~~~~
../node_modules/@types/mocha/index.d.ts:37:13 - error TS2300: Duplicate identifier 'xdescribe'.
37 declare var xdescribe: Mocha.IContextDefinition;
~~~~~~~~~
../node_modules/@types/mocha/index.d.ts:42:13 - error TS2300: Duplicate identifier 'it'.
42 declare var it: Mocha.ITestDefinition;
...
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/x/.npm/_logs/2018-07-04T19_12_36_984Z-debug.log
Error: functions predeploy error: Command terminated with non-zero exit code2
Metadata
Metadata
Assignees
Labels
No labels