[英]Java error when trying to run firebase emulators
I am trying to run the firebase emulators using我正在尝试使用 firebase 模拟器运行
firebase emulators:start
however this is the error I get但是这是我得到的错误
Error: Could not spawn
java -version
.错误:无法生成java -version
。 Please make sure Java is installed and on your system PATH.请确保 Java 已安装并在您的系统路径上。
I then run然后我跑
npm install java
I cannot install java.我无法安装 java。
try this command line试试这个命令行
sudo apt install default-jre
then run the command然后运行命令
firebase emulators:start
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.