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
new firebase init functions TypeScript fails on serve or build with errors #4212
Comments
not sure why but if I add |
Thanks @tamakunay, Adding "skipLibCheck": true inside compilerOptions (tsconfig.json) has solved the issue for me too, as a temporary solution. |
hmm this looks similar to #4181, but from a different package. Root issuse: googleapis/nodejs-common#734 |
It looks like @google-cloud/common v3.10.0 (released today) should fix this. A clean install would probably make the error go away. Let us know if anyone is still having troubles. |
@taeold a clean install works fine now without the need to add "skipLibCheck": true
|
I still have a similar issue.
Using Firebase Functions with typeScript. Using the following imports:
Running ´npm ls google-auth-library´ gives me: Tried updating all npm's to latest version. My package.json looks like this:
Adding |
[REQUIRED] Environment info
**firebase-tools: 10.2.1
**Platform: macOS
[REQUIRED] Test case
Using current latest firebase-tools, a freshly-created TypeScript functions project fails to run or deploy
[REQUIRED] Steps to reproduce
mkdir test-project
cd test-project
firebase init functions
cd functions
npm run serve / deploy
[REQUIRED] Expected behavior
The project should run and deploy
[REQUIRED] Actual behavior
fails with:
same error even with debug flag
The text was updated successfully, but these errors were encountered: