Firebase Init not creating files

2,531 views
Skip to first unread message

and.p...@gmail.com

unread,
Nov 22, 2018, 10:34:34 AM11/22/18
to Firebase Google Group
I'm trying to use firebase to collect email addresses for an email list which I'm going to export, but every time I try to initialize, it says it created the file (or folder if i leave it as public), but I can't find anything of where it created.


    You're about to initialize a Firebase project in this directory:
   
      /
   
    Before we get started, keep in mind:
   
      * You are initializing your home directory as a Firebase project
      * You are initializing in an existing Firebase project directory
   
    ? Which Firebase CLI features do you want to setup for this folder? Press Space
    to select features, then Enter to confirm your choices. Hosting: Configure and d
    eploy Firebase Hosting sites
   
    === 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.
   
    i  .firebaserc already has a default project, skipping
   
    === Hosting Setup
   
    Your public directory is the folder (relative to your project directory) that
    will contain Hosting assets to be uploaded with firebase deploy. If you
    have a build process for your assets, use your build's output directory.
   
    ? What do you want to use as your public directory? caf
    ? Configure as a single-page app (rewrite all urls to /index.html)? Yes
    ✔  Wrote caf/index.html
   
    i  Writing configuration info to firebase.json...
    i  Writing project information to .firebaserc...
   
    ✔  Firebase initialization complete!

the index file doesn't exist, and I can't deploy either.

The project is new, it doesn't let me select the project, but I'm assuming that's because I only have one project??

Kato Richardson

unread,
Nov 26, 2018, 11:30:11 AM11/26/18
to fireba...@googlegroups.com
Hm, the line You are initializing in an existing Firebase project directory  sounds like you must have initialized a Firebase project in a higher level directory already. So it's thinking of this one as a child directory of an existing project rather than a new project. Can you check up the directory tree for an existing firebase.json file?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0fe71c81-3f65-43a6-81b5-d59246b6ee86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages