當我運行我的快遞時,它會在我的控制臺中顯示這樣的訊息
$ firebase emulators:start
i emulators: Starting emulators: functions, database, hosting
! functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, firestore, pubsub, storage
functions: Using node@16 from host.
i database: Database Emulator logging to database-debug.log
! database: Fatal error occurred:
Database Emulator has exited because java is not installed, you can install it from https://openjdk.java.net/install/,
stopping all running emulators
i functions: Stopping Functions Emulator
i database: Stopping Database Emulator
! database: Error stopping Database Emulator
i hub: Stopping emulator hu
uj5u.com熱心網友回復:
您是否注意到輸出中的錯誤訊息?
Database Emulator has exited because java is not installed,
you can install it from https://openjdk.java.net/install/
我建議按照說明安裝 java。還要檢查這里的要求https://firebase.google.com/docs/emulator-suite/install_and_configure
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/406233.html
標籤:
