Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Deploying to Firebase #63

Open
jrodl3r opened this issue Jul 4, 2018 · 1 comment
Open

Error Deploying to Firebase #63

jrodl3r opened this issue Jul 4, 2018 · 1 comment

Comments

@jrodl3r
Copy link

jrodl3r commented Jul 4, 2018

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
@identiq
Copy link
Contributor

identiq commented Oct 14, 2018

Pull request available here: #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants