menu
Channels
Team
Posts
Members
Info

SSL error connecting react-apollo to yoga server when deployed to now

I have an application running without problems in my local environment. I'm trying to deploy it using now. When the frontend app tries to connect to the backend app, I receive this error: 'request to https://myserver.server.now.sh/ failed, reason: write EPROTO…

thumbsup
1
message-simple
8

How do I deploy a .env file

Hello, Firstly, I want to thank the team for creating a fantastic developer experience. I have read the documentation on environment variables and there are seemingly several ways of creating them. …

thumbsup
1
message-simple
13

Hey! I have a stupid question you guys, how do I update npm serve? thanks!

thumbsup
2
message-simple
1

Now node with ES6

Hello, I had a question about builds with nodes. Is it possible to use "advanced" ES6 features typically classes, import/export, etc.... …

thumbsup
2
message-simple
12

Is there something wrong with the `--single` parameter?

After running npx serve -s -l 3000 build I can visit http://localhost:3000 fine, but if I go directly to e.g. http://localhost:3000/foobar I get a 404 page instead of the SPA. 😕

thumbsup
0
message-simple
3

Migrating MERN project to Zeit Now 2.0

Recently discovered Now. With some tinkering, I've managed to get the node server running and all the built react assets apart from the react javascript. I'm getting 404 errors and MIME type errors. On the zeit dashboard I can see the files are there, but the browser isn't…

thumbsup
1
message-simple
13

Missing s-maxage in lambda response

I am setting following header in my lambda responses. My responses are getting cached by region servers but for some reason, s-maxage has been stripped out. Is it a known gap or I am doing something wrong here? I would like to have a bit of control on caching behavior, probably…

thumbsup
0
message-simple
53

Now dev works but not production

I have just made some modifications to my project. Everything works with "now dev" but as soon as I try to deploy my modifications, I get this error Here, my now.json : Do you have an idea ? …

thumbsup
0
message-simple
9

Google vision 1.0.0 not work

Hi, I'm trying to use @google-cloud/vision but it doesn't seem to work on now v2... Any ideas? …

thumbsup
1
message-simple
3

Custom 404 error template works locally but not on Now

In local development, if I put in a wrong path, I see the 404.html page rendered. When I deploy it, I can explicitly go to the 404 page (https://theanimalhospital.meerkats.now.sh/404, or 404.html), however, putting in a wrong path gives me the default Serve error template.

thumbsup
0
message-simple
7