"No Firebase app associated with site" message

91 views Asked by At

While working with Firebase, using:

 % firebase experiments:enable webframeworks

after running the command below:

 % firebase deploy           

I see this message (that I do not recall seeing before) appear in the terminal:

No Firebase app associated with site nice-guy,
injecting project default config.
  You can link a Web app to a Hosting site here
  https://console.firebase.google.com/project/niceguy-5e3c2/settings/general/web

I went to the indicated address, but don't know what to do there.

If anyone knows what I am supposed to do relative to the message above I would be glad to get some relevant information.

P.S.

Here is one more detail. I noticed that this issue appears only when I add this line to firebase.json :

 "site": "nice-guy",

This is not the first time I insert such a line though.

It may have to do with: experiments:enable webframeworks that I am using almost for the first time.

For reference, on can see below the content of the firebase.json file:

% cat firebase.json 
{
  "hosting": {
    "source": ".",
    "site": "nice-guy",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "frameworksBackend": {
      "region": "asia-east1"
    }
  }
}
%
1

There are 1 answers

12
Rainy sidewalks On

try by making following changes

**1st just try by replacing

"site": "nice-guy" with "site": "niceguy-5e3c2" just try.**

if not resolve then try by removing

"source": "." and "site": "nice-guy" then add "public":"path to the production folder" as below

{
  "hosting": {
   "public":"path to the production folder most of the case it is in dist/appName"
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "frameworksBackend": {
      "region": "asia-east1"
    }
  }
}