calvadev⚡️ on Nostr: The middleware, next image optimizations, service worker, and next/tailwind config ...
The middleware, next image optimizations, service worker, and next/tailwind config files are typically what cause a lot of the issues even if error messages are telling you otherwise. If things were working before the migration, it's almost guaranteed that it's not a problem with your code and that the next server configs need to be tweaked in some way.
Published at
2025-04-04 16:00:19Event JSON
{
"id": "4d1bd9ff8e47598e312e90c1605dfb1817ffd68139a107e3e63cc99b693b1e2b",
"pubkey": "d36e8083fa7b36daee646cb8b3f99feaa3d89e5a396508741f003e21ac0b6bec",
"created_at": 1743782419,
"kind": 1,
"tags": [
[
"e",
"6260da5e8ff4f6f98e22ddb734bcc62581fddbaae6e5687fc484e3c0be278dce",
"",
"root"
],
[
"e",
"7461bed5003b726aaff7673217156189457a62d43e7236c7e459f73464117011",
"",
"reply"
],
[
"p",
"d36e8083fa7b36daee646cb8b3f99feaa3d89e5a396508741f003e21ac0b6bec"
],
[
"p",
"a37118a4888e02d28e8767c08caaf73b49abdac391ad7ff18a304891e416dc33"
],
[
"p",
"e8ed3798c6ffebffa08501ac39e271662bfd160f688f94c45d692d8767dd345a"
]
],
"content": "The middleware, next image optimizations, service worker, and next/tailwind config files are typically what cause a lot of the issues even if error messages are telling you otherwise. If things were working before the migration, it's almost guaranteed that it's not a problem with your code and that the next server configs need to be tweaked in some way.",
"sig": "bd341d5086cb746ac7681385997771bde1baea6d9d0f80cf7776c8a1212fcd7442ac985de5b516eb2597967f1e04224e4dc4aabc73290f393f4d5da5c96fcb28"
}