Skip to content

Provide actual setup instructions #55

Description

@NathanSweet

This project makes too many assumptions that the user knows what they are doing. For example:

Deploy the placeholder smart home provider to Cloud Functions for Firebase using the same Project ID:

I have no idea what that means, I assume it's what the commands do. Except what folder am I supposed to run the listed commands? From the root of the project doesn't work:

npm install --prefix functions/
npm ERR! code ENOLOCAL
npm ERR! Could not install from "" as it does not contain a package.json file.

So I need to run the command where there is a package.json? The app, device, and functions folders have a package.json. Which do I use? OK the command succeeds in the app subfolder but the next command does not:

npm run firebase --prefix functions/ -- use ${PROJECT_ID}
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path [snip]\app\functions\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open '[snip]\app\functions\package.json'

I have no idea. Please provide instructions that can be followed to get the desired result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions