Skip to content
This repository was archived by the owner on Jul 15, 2020. It is now read-only.
This repository was archived by the owner on Jul 15, 2020. It is now read-only.

Deployment to Now v2 #119

@ekkis

Description

@ekkis

Describe the bug
Deployment attempt produces an error

To Reproduce
Follow instructions in README

Expected behavior
A deployed website

Node version, NPM version and Operating System and version
Node: 13.7.0
NPM: 6.14.1
OS: OSX 10.14.6

Additional context

First of all, the project includes a now.json that contains bad information. Names are no longer used and the version is set to 1, causing Now to refuse deployment. I simply deleted the file and ran now but then i puked with the following:

2020-04-07T00:06:37.615Z Error: Found engines in package.json with an invalid Node.js version range: "8.11.x".
2020-04-07T00:06:37.615Z Please set "engines": { "node": "12.x" } in your package.json file to upgrade to Node.js 12. Learn more: https://zeit.co/docs/runtimes#official-runtimes/node-js/node-js-version

after patching the package.json as instructed Now fails with the following:

2020-04-07T00:09:43.170Z Error: No serverless pages were built. https://err.sh/zeit/now/now-next-no-serverless-pages-built
2020-04-07T00:09:43.170Z at Object.module.exports.178.exports.build (/zeit/f8b3553cce6cf4b4/.build-utils/.builder/node_modules/@now/next/dist/index.js:4041:19)
2020-04-07T00:09:43.170Z at async buildStep (/var/task/sandbox-worker.js:20371:20)
2020-04-07T00:09:43.170Z at async mainSub (/var/task/sandbox-worker.js:20116:9)
2020-04-07T00:09:43.170Z at async main (/var/task/sandbox-worker.js:20023:5)

so I guess Now expects something this project isn't providing. clue anyone?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions