Emulating Firebase Database Trigger Function Error: the service "firebaseio.com" is not yet supported
Emulating Firebase Database Trigger Function Error: the service "firebaseio.com" is not yet supported
更新:已解决! firebase-tools
npm 包需要更新到最新版本。
我正尝试在终端中使用 Firebase 的 firebase experimental:functions:shell
命令 emulate/test 我的云功能(特别是数据库触发器)。
这是结果,我的 HTTP 函数模拟,但每个 Firebase 数据库 触发函数我都会出错:
Your requested "node" version "6" doesn't match your global version "8"
✔ functions: Emulator started at http://localhost:5001
i functions: Watching "/Users/****/Documents/Websites/***** - Other/cloud-functions/" for Cloud Functions...
⚠ Default "firebase-admin" instance created!
⚠ Ignoring trigger "CF_NAME_HIDDEN_1" because the service "firebaseio.com" is not yet supported.
⚠ Ignoring trigger "CF_NAME_HIDDEN_2" because the service "firebaseio.com" is not yet supported.
⚠ Ignoring trigger "CF_NAME_HIDDEN_3" because the service "firebaseio.com" is not yet supported.
i functions: HTTP trigger initialized at http://localhost:5001/****-****/us-central1/CF_NAME_HIDDEN_4
我不明白为什么会收到此错误或它的含义:
Ignoring trigger ... because the service "firebaseio.com" is not yet supported.
我的 package.json 包括:
"firebase": "4.6.2",
"firebase-admin": "^7.4.0",
"firebase-functions": "^2.2.1",
...
"devDependencies": {
"firebase-functions-test": "^0.1.6"
},
已解决:
这仅仅是因为 firebase 对他们的 firebase-tools
进行了一个小改动,0.1 版本的差异足以破坏仿真。
只是 运行 npm install -g firebase-tools
解决了这个问题。
软件包版本从 firebase-tools@6.9.2
变为 firebase-tools@6.10.0
...
更新:已解决! firebase-tools
npm 包需要更新到最新版本。
我正尝试在终端中使用 Firebase 的 firebase experimental:functions:shell
命令 emulate/test 我的云功能(特别是数据库触发器)。
这是结果,我的 HTTP 函数模拟,但每个 Firebase 数据库 触发函数我都会出错:
Your requested "node" version "6" doesn't match your global version "8"
✔ functions: Emulator started at http://localhost:5001
i functions: Watching "/Users/****/Documents/Websites/***** - Other/cloud-functions/" for Cloud Functions...
⚠ Default "firebase-admin" instance created!
⚠ Ignoring trigger "CF_NAME_HIDDEN_1" because the service "firebaseio.com" is not yet supported.
⚠ Ignoring trigger "CF_NAME_HIDDEN_2" because the service "firebaseio.com" is not yet supported.
⚠ Ignoring trigger "CF_NAME_HIDDEN_3" because the service "firebaseio.com" is not yet supported.
i functions: HTTP trigger initialized at http://localhost:5001/****-****/us-central1/CF_NAME_HIDDEN_4
我不明白为什么会收到此错误或它的含义:
Ignoring trigger ... because the service "firebaseio.com" is not yet supported.
我的 package.json 包括:
"firebase": "4.6.2",
"firebase-admin": "^7.4.0",
"firebase-functions": "^2.2.1",
...
"devDependencies": {
"firebase-functions-test": "^0.1.6"
},
已解决:
这仅仅是因为 firebase 对他们的 firebase-tools
进行了一个小改动,0.1 版本的差异足以破坏仿真。
只是 运行 npm install -g firebase-tools
解决了这个问题。
软件包版本从 firebase-tools@6.9.2
变为 firebase-tools@6.10.0
...