错误:解析触发器时出错:无法找到模块' firebase-fuctions'

时间:2018-03-20 10:45:48

标签: android firebase google-cloud-functions

我想部署Firebase功能,但是当我通过命令firebase部署时,它会显示此错误

  

错误:解析触发器时出错:无法找到模块' firebase-fuctions'   尝试运行" npm install"在你的函数目录之前   展开。

我安装了npm安装包,但不能为我工作。我在package.json中更改了依赖项,但对我来说没有用。请帮帮我

节点版本v8.9.3

npm version v5.5.1

firebase版本3.17.6

{
  "name": "functions",
  "description": "Cloud Functions for Firebase",
  "scripts": {
    "lint": "eslint .",
    "serve": "firebase serve --only functions",
    "shell": "firebase experimental:functions:shell",
    "start": "npm run shell",
    "deploy": "firebase deploy --only functions",
    "logs": "firebase functions:log"
  },
  "dependencies": {
    "firebase": "^4.11.0",
    "firebase-admin": "~5.2.1",
    "firebase-functions": "^0.6.2"
  },
  "devDependencies": {
    "eslint": "^4.12.0",
    "eslint-plugin-promise": "^3.6.0"
  },
  "private": true
}

0 个答案:

没有答案