We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue: Firebase cmdline utility does not detect any Firebase functions written in Dart.
Steps to Reproduce:
dependencies: firebase_admin_interop: ^1.2.2 firebase_functions_interop: ^1.0.0+1 dev_dependencies: build_runner: ^1.2.3 build_node_compilers: ^0.2.1 environment: sdk: '>=2.0.0 <3.0.0'
"name": "test", "dependencies": { "firebase-admin": "7.1.1", "firebase-functions": "2.2.1", "@google-cloud/firestore": "1.2.0" }, "main": "build/node/index.dart.js", "private": true }
import 'dart:async'; import 'package:firebase_functions_interop/firebase_functions_interop.dart'; void main() { functions['helloWorld'] = functions.https.onRequest(helloWorld); } Future<void> helloWorld(ExpressHttpRequest request) async { try { request.response.writeln('Hello world'); } finally { request.response.close(); } }
$default: sources: - "node/**" - "lib/**" builders: build_node_compilers|entrypoint: generate_for: - node/** options: compiler: dart2js dart2js_args: - --minify
pub run build_runner build
firebase deploy --only functions
Versions: dart --version is 2.2.0 firebase --version is 6.5.0 npm --version is 6.4.1 (to match what Firebase uses)
dart --version
firebase --version
npm --version
The text was updated successfully, but these errors were encountered:
Sorry for late reply. Is this still an issue?
Sorry, something went wrong.
No branches or pull requests
Issue: Firebase cmdline utility does not detect any Firebase functions written in Dart.
Steps to Reproduce:
pub run build_runner build
firebase deploy --only functions
Versions:
dart --version
is 2.2.0firebase --version
is 6.5.0npm --version
is 6.4.1 (to match what Firebase uses)The text was updated successfully, but these errors were encountered: