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 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.
January 23, 2020 at 2:55pm
January 25, 2020 at 6:07pm
;-) How can I send a post for a external url using node.js, serveless functions and allowing cors?
January 31, 2020 at 1:52am
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?
Screencaps above (or below, I'm unsure how spectrum renders these :grimace: )
is this a known issue?
" 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)"
January 31, 2020 at 7:44pm
is that russian? Lmao
but no one seems to use this chat
you had a slack channel once that was active and then it was wasted for this thing
I think discord or slack would be much much better
February 1, 2020 at 11:54am