menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team
Show previous messages

January 22, 2020 at 9:58pm

Hello there guys! Excuse the possibly dumb question but I'm fairly new to next.js and I'm trying to deploy a website to now.sh and I can't seem to find anything online to help me troubleshoot this issue I have. Whenever I first load the website it never delivers the index.jsx page. If I try to directly access other routes though everything works fine. On my localhost everything is working just fine, the problem only shows up when I deploy it to now.sh.

Leaving it here, maybe someone can find a cleaner solution or patch the same behaviour. For some reason I'm still trying to get, now is generating all the html files without an extension, this leaves me with two files: index.html and index and for some reason on the first load it goes with the extensioned index which is blank and only has the "root" node in it.

  • reply
  • like

January 23, 2020 at 2:55pm

Suddenly getting error Couldn't find any versions for "workbox-build" that matches "^5.0.0-rc.3" error when deploying with now

  • reply
  • like

January 25, 2020 at 6:07pm

;-) How can I send a post for a external url using node.js, serveless functions and allowing cors?

  • reply
  • like

January 31, 2020 at 1:52am

Hi!

I also cant use cors on Now.sh... Already try on now.json and npm cors package.. No success. All Origin alloweds on Now.sh.. sad!

  • reply
  • like

Heya, I am pretty new to Zeit but looking to connect some python serverless functions to my Next.js repo. I made a repo based off the Next.js template and attempted to add the canonical python endpoint example to /pages/api/jim.py, when I visit my <url>/api/jim I am getting a 404.

I'm pretty sure I scoured the docs for any possible gotchas, and I'm still stumped. Other JS endpoints work in the same directory and the same Python endpoint works in other sample projects (Svelte and React that I tried). I also tried different functions including a Flask based endpoint, but to no avail. Am I missing something?

Repo: https://github.com/jimgiven/zeit-next-py Site: https://zeit-next-py.now.sh Error Site: https://zeit-next-py.now.sh/api/jim

Screencaps above (or below, I'm unsure how spectrum renders these :grimace: )

  • reply
  • like

hi, zeit doesnt seem to work on windows with Go

  • reply
  • like

is this a known issue?

  • reply
  • like

" Building

/go@latest:api/key/get.go Failed to parse AST for "api/key/get.go" Error: Command failed: C:\Users\user\AppData\Local\co.zeit.now\Cache\dev\builders\node_modules\\go\dist\analyze -modpath=C:\Users\user\go\src\zeittest C:\Users\user\go\src\zeittest\api\key\get.go 'C:\Users\user\AppData\Local\co.zeit.now\Cache\dev\builders\node_modules\\go\dist\analyze' is not recognized as an internal or external command, operable program or batch file.

at makeError (C:\Users\user\AppData\Local\co.zeit.now\Cache\dev\builders\node_modules\@now\go\dist\index.js:48947:9)"
  • reply
  • like

January 31, 2020 at 7:44pm

This Chat is absolutely ridiculous. No one is here to discuss things. I have created a discord channel if anyone wants to join:

https://discord.gg/BVzhVZh

  • reply
  • like

Chat

  • reply
  • like

This Chat is absolutely ridiculous. No one is here to discuss things. I have created a discord channel if anyone wants to join:

https://discord.gg/BVzhVZh

Chat

  • reply
  • like
  • reply
  • like

what is this? :D

  • reply
  • like

is that russian? Lmao

  • reply
  • like

)))

  • reply
  • like

Хорошая идея

  • reply
  • like

you think a distant discord channel will attract more people to chat? If you run into particular problems post it on some forum here or support@zeit.co

  • reply
  • like

i did post the issue on here

  • reply
  • like

but no one seems to use this chat

  • reply
  • like

you had a slack channel once that was active and then it was wasted for this thing

  • reply
  • like

I think discord or slack would be much much better

  • reply
  • like

February 1, 2020 at 11:54am

is there anyone online from the team here? I'm facing an issue when trying to deploy a project of mine

  • reply
  • like
Show more messages