firebase公用目录错误

firebase公用目录错误,firebase,ionic-framework,github,firebase-hosting,Firebase,Ionic Framework,Github,Firebase Hosting,我正在尝试将一个网站的更新实例上载到firebase,这是我从合作者的github repo中提取的。在使用命令“firebase deploy”后,出现以下错误: ==正在部署到“makany webapp” 我正在部署主机 错误:指定的公用目录不存在,无法部署主机 这是firebase.json的内容: 我正在尝试从firebase.json所在的目录进行部署。该目录包含一个“src”文件夹,其中包含index.html文件以及其他文件夹 我的坏习惯。我必须将我的src文件夹名称更改为www

我正在尝试将一个网站的更新实例上载到firebase,这是我从合作者的github repo中提取的。在使用命令“firebase deploy”后,出现以下错误:

==正在部署到“makany webapp”

我正在部署主机

错误:指定的公用目录不存在,无法部署主机

这是firebase.json的内容:

我正在尝试从firebase.json所在的目录进行部署。该目录包含一个“src”文件夹,其中包含index.html文件以及其他文件夹


我的坏习惯。我必须将我的src文件夹名称更改为www

我相信我必须将我的src文件夹名称更改为www
{
  "hosting": {
      "public": "www",
      "ignore": [
        "firebase.json",
        "**/.*",
        "**/node_modules/**"
      ],
      "rewrites": [
        {
          "source": "/public/**",
          "destination": "/public.html"
        },
        {
          "source": "**",
          "destination": "/index.html"
        }
      ]
    }
}