Firebase deploy returns error at tsc command

后端 未结 2 956
旧时难觅i
旧时难觅i 2021-01-11 17:48

I\'ve setup a Firebase project to create some basic Firebase Functions.
In the project I\'m using TypeScript

Following the Firebase official documentation I crea

相关标签:
2条回答
  • 2021-01-11 18:22

    Ran into same issue, was able to deploy after upgrading typescript library to 3.3.1 version and do npm install.

    In package.json file set "devDependencies": { "tslint": "~5.8.0", "typescript": "~3.3.1" },

    Note: you can remove all changes described in your post.

    0 讨论(0)
  • 2021-01-11 18:27

    this works for me : add this line to tsconfig within the functions folder:

    "typeRoots": [ "node_modules/@types" ],

    This is part of "compilerOptions" block worked for me

    0 讨论(0)
提交回复
热议问题