0
我试图将我的angular 2项目部署到firebase。我成功了第一次,但之后,即使项目部署到firebase,它并没有显示在url(它只是显示firebase托管的欢迎页面) 我也注意到,即使我已经导航到dist文件夹(在ng build操作后创建)firebase init仍然在父目录中运行,这可能会导致问题。如何解决这个问题?无法在正确的目录中初始化Firebase
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Users\BEN> e:
PS E:\> cd project\angular-proj
PS E:\project\angular-proj>
PS E:\project\angular-proj> cd dist
PS E:\project\angular-proj\dist> firebase init
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
E:\project\angular-proj
Before we get started, keep in mind:
* You are initializing in an existing Firebase project directory
? Are you ready to proceed? (Y/n) n