# \#remix

**URL:** https://answers.netlify.com/tag/remix/195.md

[Latest](https://answers.netlify.com/latest.md) · [Categories](https://answers.netlify.com/categories.md) · [Tags](https://answers.netlify.com/tags.md)

---

## [Sendgrid + Netlify SSL Click Tracking configuration](https://answers.netlify.com/t/sendgrid-netlify-ssl-click-tracking-configuration/127846)

<div class="topic-metadata">

**Author:** [@tonymamo](https://answers.netlify.com/u/tonymamo)\
**Replies:** 24\
**Last updated:** [December 20, 2024, 4:03pm UTC](https://answers.netlify.com/t/sendgrid-netlify-ssl-click-tracking-configuration/127846 "2024-12-20T16:03:19Z")

</div>

Hi there, I am trying to set up custom SSL click tracking using Sendgrid, so that any emails I send have “branded” links, i.e. a user will see emails.gocanada.com/XYZ, where gocanada.com is my netlify site and the email…

---

## [Remix netlify: moving from functions to edge functions](https://answers.netlify.com/t/remix-netlify-moving-from-functions-to-edge-functions/129540)

<div class="topic-metadata">

**Author:** [@Kale](https://answers.netlify.com/u/Kale)\
**Replies:** 7\
**Last updated:** [December 11, 2024, 6:15am UTC](https://answers.netlify.com/t/remix-netlify-moving-from-functions-to-edge-functions/129540 "2024-12-11T06:15:22Z")

</div>

Hello! I’m trying to switch from deploying functions to edge functions on an existing netlify remix app. Have followed all the steps I can find and everything the AI suggested (changing entry.server, npm install @netli…

---

## [.prisma/client/edge error on edge functions](https://answers.netlify.com/t/prisma-client-edge-error-on-edge-functions/131229)

<div class="topic-metadata">

**Author:** [@jocker.dev](https://answers.netlify.com/u/jocker.dev)\
**Replies:** 2\
**Last updated:** [December 9, 2024, 7:26am UTC](https://answers.netlify.com/t/prisma-client-edge-error-on-edge-functions/131229 "2024-12-09T07:26:14Z")

</div>

As described in the Prisma documentation, I’m creating a Prisma client for edge functions as follows: import { PrismaClient } from '@prisma/client/edge' import { withAccelerate } from '@prisma/extension-accelerate' con…

---

## [KPOP REMIX template](https://answers.netlify.com/t/kpop-remix-template/124351)

<div class="topic-metadata">

**Author:** [@markymarkaz](https://answers.netlify.com/u/markymarkaz)\
**Replies:** 1\
**Last updated:** [August 25, 2024, 2:40pm UTC](https://answers.netlify.com/t/kpop-remix-template/124351 "2024-08-25T14:40:25Z")

</div>

I’m trying to use the KPOP REMIX template on my app at https://main--wchs-golf-tournament.netlify.app Getting a message of error decoding lambda response: error decoding lambda response: unexpected end of JSON input The…

---

## [Environment variables in Remix template with Edge Functions](https://answers.netlify.com/t/environment-variables-in-remix-template-with-edge-functions/121266)

<div class="topic-metadata">

**Author:** [@seanlennaerts](https://answers.netlify.com/u/seanlennaerts)\
**Replies:** 5\
**Last updated:** [July 28, 2024, 1:35am UTC](https://answers.netlify.com/t/environment-variables-in-remix-template-with-edge-functions/121266 "2024-07-28T01:35:35Z")

</div>

I created a new remix project using the netlify template: npx create-remix@latest --template netlify/remix-template followed by the rest of the setup in the readme. When I run netlify dev I have to access env vars using…

---

## [Redirects going to localhost and not expected url](https://answers.netlify.com/t/redirects-going-to-localhost-and-not-expected-url/122691)

<div class="topic-metadata">

**Author:** [@ck9891](https://answers.netlify.com/u/ck9891)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 9:48am UTC](https://answers.netlify.com/t/redirects-going-to-localhost-and-not-expected-url/122691 "2024-07-24T09:48:13Z")

</div>

Hello, I’m struggling a bit with my Remix app and redirects. Essentially, what I’m trying to is make POST request to a server that does not have a SSL and am trying to utilize redirects to be able to reach the server. I…

---

## [Netlify Remix site de-indexed early May 2024, many attempts made to re-index to no avail. PLEASE HELP!](https://answers.netlify.com/t/netlify-remix-site-de-indexed-early-may-2024-many-attempts-made-to-re-index-to-no-avail-please-help/122201)

<div class="topic-metadata">

**Author:** [@jon\_sgr](https://answers.netlify.com/u/jon_sgr)\
**Replies:** 6\
**Last updated:** [July 23, 2024, 9:25am UTC](https://answers.netlify.com/t/netlify-remix-site-de-indexed-early-may-2024-many-attempts-made-to-re-index-to-no-avail-please-help/122201 "2024-07-23T09:25:43Z")

</div>

Hello everyone, I’m at my wits end with an issue we’ve been dealing with since early May. Our entire site was de-indexed by google and hasn’t been re-indexed since. Our domain is ~12 years old, would get multiple hundred…

---

## [Lambda Timing Out](https://answers.netlify.com/t/lambda-timing-out/121785)

<div class="topic-metadata">

**Author:** [@Smalls](https://answers.netlify.com/u/Smalls)\
**Replies:** 1\
**Last updated:** [July 9, 2024, 3:31pm UTC](https://answers.netlify.com/t/lambda-timing-out/121785 "2024-07-09T15:31:01Z")

</div>

Site name: smallsweb-production Site: https://www.smalls.com/ Running into an issue where our site times out. I’m not sure what request is causing it, locally the site runs fine and loads quickly. Checking the functio…

---

## [Performance Issues with Remix + Vite + Netlify Functions](https://answers.netlify.com/t/performance-issues-with-remix-vite-netlify-functions/113944)

<div class="topic-metadata">

**Author:** [@services](https://answers.netlify.com/u/services)\
**Replies:** 8\
**Last updated:** [April 11, 2024, 9:11pm UTC](https://answers.netlify.com/t/performance-issues-with-remix-vite-netlify-functions/113944 "2024-04-11T21:11:19Z")

</div>

I’ve recently made an attempt to migrate a Remix + Netlify Functions website to Remix + Vite + Netlify Functions and noticed that site has a much slower response time. Is there something I’m missing here to optimize per…

---

## [Remix very slow](https://answers.netlify.com/t/remix-very-slow/115440)

<div class="topic-metadata">

**Author:** [@kronk0s](https://answers.netlify.com/u/kronk0s)\
**Replies:** 7\
**Last updated:** [March 31, 2024, 8:56am UTC](https://answers.netlify.com/t/remix-very-slow/115440 "2024-03-31T08:56:05Z")

</div>

Remix Vite app is very slow on netlify but works great on vercel.

---

## [Vite edge build error ( pnpm --filter vite-edge... build )](https://answers.netlify.com/t/vite-edge-build-error-pnpm-filter-vite-edge-build/114927)

<div class="topic-metadata">

**Author:** [@rewrkz](https://answers.netlify.com/u/rewrkz)\
**Replies:** 5\
**Last updated:** [March 20, 2024, 6:05pm UTC](https://answers.netlify.com/t/vite-edge-build-error-pnpm-filter-vite-edge-build/114927 "2024-03-20T18:05:21Z")

</div>

Hello Guys, I go error when building: 11:51:28 PM: Configuration error 11:51:28 PM: ──────────────────────────────────────────────────────────────── 11:51:28 PM: ​ 11:51:28 PM: Error message 11:51:28 PM: Deploy…

---

## [Remix app deploy on netlify](https://answers.netlify.com/t/remix-app-deploy-on-netlify/114102)

<div class="topic-metadata">

**Author:** [@dananjaya6005](https://answers.netlify.com/u/dananjaya6005)\
**Replies:** 1\
**Last updated:** [March 10, 2024, 2:20pm UTC](https://answers.netlify.com/t/remix-app-deploy-on-netlify/114102 "2024-03-10T14:20:35Z")

</div>

I’m trying to deploy the remix app. I just created using npx create-remix@latest --template netlify/remix-template. and followed the readme file inside the project which comes with the project. here is the website (wi…

---

## [Encode HTML document response in Remix + Vite app](https://answers.netlify.com/t/encode-html-document-response-in-remix-vite-app/113426)

<div class="topic-metadata">

**Author:** [@services](https://answers.netlify.com/u/services)\
**Replies:** 5\
**Last updated:** [March 7, 2024, 1:13pm UTC](https://answers.netlify.com/t/encode-html-document-response-in-remix-vite-app/113426 "2024-03-07T13:13:51Z")

</div>

Is there a way to ensure a HTML document response is encoded using gzip or br? This seems to be ubiquitous feature amongst other hosting platforms. Contextual background Hosting: Netlify Functions Tech: Remix + Vite (…

---

## [Deployment of a Remix app with Vite build](https://answers.netlify.com/t/deployment-of-a-remix-app-with-vite-build/112005)

<div class="topic-metadata">

**Author:** [@jari](https://answers.netlify.com/u/jari)\
**Replies:** 8\
**Last updated:** [February 15, 2024, 8:54am UTC](https://answers.netlify.com/t/deployment-of-a-remix-app-with-vite-build/112005 "2024-02-15T08:54:56Z")

</div>

Site name: fluffy-pony-237262 I have Remix application. I was build on top of the Netlify Remix template. As Remix is going to migrate to Vite, I decided to give it a go. The end result is that there are no functions d…

---

## [How do I deploy a Remix Vite app to Netlify Edge Functions?](https://answers.netlify.com/t/how-do-i-deploy-a-remix-vite-app-to-netlify-edge-functions/111816)

<div class="topic-metadata">

**Author:** [@fazil47](https://answers.netlify.com/u/fazil47)\
**Replies:** 3\
**Last updated:** [February 10, 2024, 6:03pm UTC](https://answers.netlify.com/t/how-do-i-deploy-a-remix-vite-app-to-netlify-edge-functions/111816 "2024-02-10T18:03:47Z")

</div>

Remix recently gained support for Vite, how do I deploy it to Netlify Edge Functions? Do I have to use @netlify/vite-plugin-netlify-edge for that?

---

## [Exposing build time information trough plugin and a file](https://answers.netlify.com/t/exposing-build-time-information-trough-plugin-and-a-file/111492)

<div class="topic-metadata">

**Author:** [@jari](https://answers.netlify.com/u/jari)\
**Replies:** 3\
**Last updated:** [February 5, 2024, 4:52pm UTC](https://answers.netlify.com/t/exposing-build-time-information-trough-plugin-and-a-file/111492 "2024-02-05T16:52:33Z")

</div>

Site: fluffy-pony-237262 I’m trying to expose build time information to include it to the web pages. To this end, I have created the following plugin: import \* as fs from 'fs' import \* as path from 'path' export const…

---

## [Remix V2: Missing form submission function handler](https://answers.netlify.com/t/remix-v2-missing-form-submission-function-handler/110519)

<div class="topic-metadata">

**Author:** [@schattengestalt](https://answers.netlify.com/u/schattengestalt)\
**Replies:** 6\
**Last updated:** [January 31, 2024, 10:31pm UTC](https://answers.netlify.com/t/remix-v2-missing-form-submission-function-handler/110519 "2024-01-31T22:31:44Z")

</div>

Hi, I migrated a larger project from Remix V1 to V2. I did a step by step refactoring. When testing the app I received the following error message when I tried to send a remix form. It didn’t matter whether I used POST…

---

## [Problems Deploying Remix v2 Site](https://answers.netlify.com/t/problems-deploying-remix-v2-site/110252)

<div class="topic-metadata">

**Author:** [@LeadFinderApp](https://answers.netlify.com/u/LeadFinderApp)\
**Replies:** 3\
**Last updated:** [January 17, 2024, 2:50pm UTC](https://answers.netlify.com/t/problems-deploying-remix-v2-site/110252 "2024-01-17T14:50:14Z")

</div>

Here is my deploy URL My Failed Site I am trying to deploy my Remix v2 site. Obviously got the typical it works on my computer :wink: I am using the Netlify Remix template from here :- However I keep getting a Page N…

---

## [Remix with edge returns 404 locally and fails build in pipeline](https://answers.netlify.com/t/remix-with-edge-returns-404-locally-and-fails-build-in-pipeline/109035)

<div class="topic-metadata">

**Author:** [@th-m](https://answers.netlify.com/u/th-m)\
**Replies:** 3\
**Last updated:** [January 14, 2024, 1:44pm UTC](https://answers.netlify.com/t/remix-with-edge-returns-404-locally-and-fails-build-in-pipeline/109035 "2024-01-14T13:44:10Z")

</div>

PLEASE help us help you by writing a good post! run these commands to get this issue: npx create-remix@latest --template netlify/remix-template Initialize a new git repository? No deps Install dependenc…

---

## [An error in a build process which stops as YN0028: The lockfile would have been created by this install, which is explicitly forbidden](https://answers.netlify.com/t/an-error-in-a-build-process-which-stops-as-yn0028-the-lockfile-would-have-been-created-by-this-install-which-is-explicitly-forbidden/110099)

<div class="topic-metadata">

**Author:** [@jari](https://answers.netlify.com/u/jari)\
**Replies:** 2\
**Last updated:** [January 11, 2024, 9:54pm UTC](https://answers.netlify.com/t/an-error-in-a-build-process-which-stops-as-yn0028-the-lockfile-would-have-been-created-by-this-install-which-is-explicitly-forbidden/110099 "2024-01-11T21:54:23Z")

</div>

The problem The build stops at the initialising phase with the following two key error messages: 4:29:40 PM: Installing npm packages using Yarn version 3.6.4 4:29:41 PM: ➤ YN0028: The lockfile would have been created …

---

## [All pages except home is 404](https://answers.netlify.com/t/all-pages-except-home-is-404/109590)

<div class="topic-metadata">

**Author:** [@dalnikcc](https://answers.netlify.com/u/dalnikcc)\
**Replies:** 1\
**Last updated:** [January 2, 2024, 4:56pm UTC](https://answers.netlify.com/t/all-pages-except-home-is-404/109590 "2024-01-02T16:56:17Z")

</div>

My package.json: { "name": "my-remix-app", "private": true, "sideEffects": false, "type": "module", "scripts": { "build": "remix build", "dev": "remix dev", "start": "netlify serve", "typeche…

---

## [Periodic Timeouts](https://answers.netlify.com/t/periodic-timeouts/105623)

<div class="topic-metadata">

**Author:** [@vance1](https://answers.netlify.com/u/vance1)\
**Replies:** 3\
**Last updated:** [December 19, 2023, 10:21pm UTC](https://answers.netlify.com/t/periodic-timeouts/105623 "2023-12-19T22:21:21Z")

</div>

site name: yellowhat Tier: Pro Hello, We are seeing requests occasionally timeout, usually after 60 seconds. Most commonly these are requests for JS “chunks” although some are for the /netlify-rum.js endpoint. Here ar…

---

## [Runtime.HandlerNotFound: server.handler is undefined or not exported](https://answers.netlify.com/t/runtime-handlernotfound-server-handler-is-undefined-or-not-exported/107666)

<div class="topic-metadata">

**Author:** [@rjdellecese](https://answers.netlify.com/u/rjdellecese)\
**Replies:** 12\
**Last updated:** [December 8, 2023, 9:24am UTC](https://answers.netlify.com/t/runtime-handlernotfound-server-handler-is-undefined-or-not-exported/107666 "2023-12-08T09:24:31Z")

</div>

I just upgraded to Remix v2, using the instructions and examples found here and, even with much additional fiddling, have been unable to get the server function working successfully (though sometimes I’ve encountered dif…

---

## [Occasional 502s from server function](https://answers.netlify.com/t/occasional-502s-from-server-function/105619)

<div class="topic-metadata">

**Author:** [@vance1](https://answers.netlify.com/u/vance1)\
**Replies:** 3\
**Last updated:** [November 1, 2023, 2:10pm UTC](https://answers.netlify.com/t/occasional-502s-from-server-function/105619 "2023-11-01T14:10:50Z")

</div>

Hello! We are seeing occasional 502s and don’t know why. The latest scenario was several requests in a row, most of them to our /ping endpoint which just should simply return a 200 with very low latency. This was for ou…

---

## [React "Element type is invalid" error, but only on production, and only when I refresh](https://answers.netlify.com/t/react-element-type-is-invalid-error-but-only-on-production-and-only-when-i-refresh/104606)

<div class="topic-metadata">

**Author:** [@FLoyd0121](https://answers.netlify.com/u/FLoyd0121)\
**Replies:** 2\
**Last updated:** [October 18, 2023, 4:06am UTC](https://answers.netlify.com/t/react-element-type-is-invalid-error-but-only-on-production-and-only-when-i-refresh/104606 "2023-10-18T04:06:13Z")

</div>

My site ID: f38a0208-64bb-45bb-9f45-0443341054b3 My site page where the bug happened: https://tcgstats.io/ygo/match-register I’m building an app with Remix and hosting it on netlify. Today, I encountered these errors: …

---

## [Are Functions with Query Strings Really Cached Now?](https://answers.netlify.com/t/are-functions-with-query-strings-really-cached-now/54730)

<div class="topic-metadata">

**Author:** [@swamidass](https://answers.netlify.com/u/swamidass)\
**Replies:** 8\
**Last updated:** [September 25, 2023, 11:16pm UTC](https://answers.netlify.com/t/are-functions-with-query-strings-really-cached-now/54730 "2023-09-25T23:16:03Z")

</div>

Continuing the discussion from Netlify Function with query strings ignores custom Cache-Control header: Netlify recently enabled query based caching of functions. But is it working? Here are a few curl requests to the…

---

## [Caching headers do not cooperate with Remix](https://answers.netlify.com/t/caching-headers-do-not-cooperate-with-remix/100661)

<div class="topic-metadata">

**Author:** [@mikocevar](https://answers.netlify.com/u/mikocevar)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 12:26am UTC](https://answers.netlify.com/t/caching-headers-do-not-cooperate-with-remix/100661 "2023-08-30T00:26:56Z")

</div>

Site: https://mikess.netlify.app/ Github: https://github.com/mikocevar/remix-netlify-demo It should be a simple app and I still have issues with it. Problem #1: If I visit the site, click a character and then click th…

---

## [Remix deploy failing with Function too large](https://answers.netlify.com/t/remix-deploy-failing-with-function-too-large/88399)

<div class="topic-metadata">

**Author:** [@benjamin](https://answers.netlify.com/u/benjamin)\
**Replies:** 6\
**Last updated:** [August 13, 2023, 10:58am UTC](https://answers.netlify.com/t/remix-deploy-failing-with-function-too-large/88399 "2023-08-13T10:58:23Z")

</div>

Thank you for your reactivity! Redeploying led me to an issue I didn’t have previously: 3:53:55 PM: The function "SERVER" is larger than the 50MB limit. Please consider reducing it. 3:53:55 PM: Failed to upload file: s…

---

## [Chunks missing on production on Remix.run](https://answers.netlify.com/t/chunks-missing-on-production-on-remix-run/97127)

<div class="topic-metadata">

**Author:** [@rg-basara](https://answers.netlify.com/u/rg-basara)\
**Replies:** 2\
**Last updated:** [July 23, 2023, 2:23pm UTC](https://answers.netlify.com/t/chunks-missing-on-production-on-remix-run/97127 "2023-07-23T14:23:32Z")

</div>

Hi, we have issues with our remix application on netlify. The scenario: website runs on domain.comon that domain all the chunks are broken on production the preview and local works just fine when switching to www as …

---

## [Error - SESSION\_SECRET must be set](https://answers.netlify.com/t/error-session-secret-must-be-set/95057)

<div class="topic-metadata">

**Author:** [@NookaCoder](https://answers.netlify.com/u/NookaCoder)\
**Replies:** 4\
**Last updated:** [June 25, 2023, 11:24am UTC](https://answers.netlify.com/t/error-session-secret-must-be-set/95057 "2023-06-25T11:24:41Z")

</div>

Temp site name: https://whimsical-puppy-2a78d1.netlify.app/ Error log: \`\`\` Error: SESSION\_SECRET must be set at Object. (/var/task/.netlify/functions-internal/server.js:275:9) at Module.\_compile (node:internal/module…

[Next page](https://answers.netlify.com/tag/remix/195.md?match_all_tags=true&page=1&tags%5B%5D=remix)
