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

Not able to build #186

Closed
mackelito opened this issue Feb 1, 2024 · 2 comments
Closed

Not able to build #186

mackelito opened this issue Feb 1, 2024 · 2 comments

Comments

@mackelito
Copy link

running serve locally works great and now it's time to build and deploy.... 😬

> nx run functions:build

node_modules/firebase-admin/lib/app/lifecycle.d.ts:34:57 - error TS1127: Invalid character.

  32 | }
  33 | export declare const defaultAppStore: AppStore;
> 34 | export declare function initializeApp(options?: AppOptio§ns, appName?: string): App;
     |                                                         ^
  35 | export declare function getApp(appName?: string): App;
  36 | export declare function getApps(): App[];
  37 | /**

Found 1 error.

The only place where I can find initializeApp() is in my main.ts and its commented out...

// import { initializeApp } from 'firebase-admin/app';
// initializeApp();

Not sure where to start digging... nx reset did not help.

@simondotm
Copy link
Owner

What was the cause of your issue @mackelito ? That AppOptio§ns type looks like a dodgy file was written somehow...

@mackelito
Copy link
Author

Not really sure.. I removed node_modules and did a npm i.. then it started working again.. 🤷‍♂️

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