question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I cant deploy to zeit now

See original GitHub issue

Hello im trying to deploy graphql-auth example to zeit now platform but is given me this error:

Changelog: https://github.com/zeit/now/releases/tag/now@17.0.0-canary.3

Deploying ~\Documents\modern-apps\lightmatter\backend2 under golfredopf Using project express-photon NOTE: To deploy to production (express-photon-blond-iota.now.sh), run now --prod https://express-photon-b8wq0blvi.now.sh [2s] Error! Build failed Error! Check your logs at https://express-photon-b8wq0blvi.now.sh/_logs or run now logs https://express-photon-b8wq0blvi.now.sh

after use:

now -b POSTGRESQL_URL=@postgresql_url -e POSTGRESQL_URL=@postgresql_url

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
anle1991commented, Mar 9, 2020

Is there a guide how to deploy prisma to zeit? The available guides seem outdated 😦 https://www.prisma.io/docs/tutorials/deploy-prisma-servers/zeit-now-and-google-cloud-sql-mohj5eiwot

0reactions
xero0001commented, Mar 11, 2020

I recently realized that I was including

  "routes": [
    {
      "headers": {
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
        "Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Accept"
      },
      "src": "/graphql",
      "dest": "src/server.ts"
    },
]

this option in my now.json file.

Maybe this might have cleared my cross origin issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot deploy new API routes using Vercel (Zeit Now)
When I first started the API, I deployed 2 routes to Zeit Now using the "Now" command. Those routes worked fine when I...
Read more >
Zeit Now Tutorial - Flavio Copes
One of the most simple ways to deploy a Node.js application is through the Now platform created by Zeit. Now 2 was recently...
Read more >
Serverless CI/CD and hosting with Semaphore and ZEIT Now -
In this article, we will test and deploy an application using ZEIT Now to build and host it and Semaphore to drive CI/CD...
Read more >
Configure a Build – Vercel Docs
When you deploy a project, Vercel runs a build step. These settings help you configure the build step.
Read more >
All you need to know about `ng deploy` | Angular.Schule
However, until now deploy commands were not made on top of CLI builders. ... message in case there is no deployment builder installed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found