所以我今天正在测试 CLI firebase init
,并选择了 db/hosting,并选择创建一个新项目,总是说Error: Permission denied.
.
sudo firebase init
没有帮助。
firebase-tools
3.0.3
OS X 10.11.5 上的版本。
firebase init
You're about to initialize a Firebase project in this directory:
/Users/splaktar/Git/tmp
Before we get started, keep in mind:
* You are initializing in an existing Firebase project directory
? What Firebase CLI features do you want to setup for this folder? Database: Deploy Firebase Realtime Database Rules
=== Project Setup
First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add,
but for now we'll just set up a default project.
? What Firebase project do you want to associate as default? [don't setup a default project]
=== Database Setup
Firebase Realtime Database Rules allow you to define how your data should be
structured and when your data can be read from and written to.
? What file should be used for Database Rules? database.rules.json
Error: Permission denied.
我在这里尝试了答案,但没有帮助。这只是一个错误firebase-tools
吗?