-
Notifications
You must be signed in to change notification settings - Fork 419
Deployment to Now v2 #119
Description
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
inpackage.json
with an invalid Node.js version range: "8.11.x".
2020-04-07T00:06:37.615Z Please set "engines": { "node": "12.x" } in yourpackage.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?