This repository was archived by the owner on Oct 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
'Deploy to Now' fails #28
Copy link
Copy link
Open
Description
If I use the Deploy to Now button in the README.md, I encounter the following error after attempting a deploy:
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
