0

I'm trying to use Java11 runtime for Google cloud/firebase functions, which was quite recently released. I want to test firestore trigger functions on my local machine. Guides on the internet seem to be using the command firebase functions:shell which by itself starts the required emulation processes. However, I don't find any method to specify the .jar file for the firebase functions:shell command. Or any way to specify the functions. I know it doesn't load my Java http function because it shows the loaded functions and helloWorld isn't one of them:

gintas-mac:functions gintas$ firebase functions:shell
⚠  Your requested "node" version "10" doesn't match your global version "8"
i  functions: Loaded functions: helloWorld
⚠  functions: The following emulators are not running, calls to these services will affect production: firestore, database, pubsub
1

1 Answer 1

1

It's not possible to use the Firebase CLI to test a function written in Java. Firebase only supports functions written with the firebase-functions module on nodejs.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.