Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

'Deploy to Now' fails #28

Description

@ninjaPixel

If I use the Deploy to Now button in the README.md, I encounter the following error after attempting a deploy:

Screenshot 2019-10-25 at 16 52 07

If I try to deploy from the command line by runnning now from within the micro-open-graph directory I get the following error, because there is no build command in the package.json file:

> Deploying ~/Git/micro-open-graph 
> Using project micro-open-graph
> Error! Your `package.json` file is missing a `build` property inside the `script` property.
More details: https://zeit.co/docs/v2/advanced/platform/frequently-asked-questions#missing-build-script

I'm using Now 2.0 and the latest docs say:

If your project contains a package.json file, no api directory, and no now.json configuration, it is expected to provide a build script that performs a static build of your frontend and outputs it to a public directory at the root of your project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions