750 questions
-3
votes
0
answers
32
views
Node.js/tsx server fails to render React component with 'Objects are not valid as a React child' error [closed]
I'm running a Node.js/Express server with tsx and I'm trying to render a React email template to an HTML string so I can send it with Resend.
The process consistently fails with a React error, even ...
-1
votes
0
answers
20
views
React, nodejs app loading fine locally but style and layout basic when deployed to Heroku
I have a react and nodeJS application that I am trying to deploy to heroku. I managed to get the project to deploy and load, but the behavior on heroku makes it seem that the syles, js and bootstrap ...
0
votes
1
answer
34
views
Flexbox justify-content:space-between doesn't work properly with position:absolute
I'm facing this issue:
I'm looking to use position:absolute, to adjust the span.materias__item-detalle, to bottom of the div, without caring the size that the h4 occupes.
But, I also want to use ...
0
votes
0
answers
23
views
React Native: Component "auth" has not been registered & routing not working (Expo Router)
Im working in a react native expo app, and everything was working fine..until i added firebase to it. i created the firebase.js config file and then and made changes in my auth.tsx (for authentication,...
0
votes
0
answers
33
views
LayoutTransition react issue
I am writing a web application in react-with-typescript:
I use index.tsx as a layout component, I need to somehow delay the transition between pages so that the animation of filling the screen can ...
0
votes
0
answers
30
views
Can I define a fake module to satisfy a import from a import?
i know this is a sort of a hack, but i'm trying to import a module on a DB seed script which is shared with the application, and for the application it is required to have a taint import import '...
1
vote
0
answers
261
views
Clerk's Expo Setup Not Working or a Rookie React Native Mistake?
I'm trying to follow Simon Grimm's tutorial on how to integrate Clerk Auth into a React Native app, but so far nothing happens. I've also tried to adapt it to what's on the updated Clerk docs, such as ...
0
votes
1
answer
94
views
Cannot get any response from langchain ChatOpenAI, no matter how long I wait
My code is as follows:
import { config } from "dotenv";
import { ChatOpenAI } from "@langchain/openai";
config({ override: true })
const openai = new ChatOpenAI({ model: "...
0
votes
1
answer
238
views
Why won't HeroUI's component load with css using NextJS
(English is not my first language btw)
I'm doing this school project and I'm using heroui as my component library, i thought I updated it to tailwind 4 and did the changes I thought I was supposed to ...
0
votes
2
answers
76
views
TypeScript optional prop with default value still possibly undefined [closed]
How can I defined optional property in React component with default value and make typescript understand that even though it's marked as optional in the props interface it has default value so it's ...
0
votes
0
answers
28
views
expo router not working properly on android
I'm trying to navigate to next screen on my app with expo router but it does not work as I expect. I need to click on the button twice before it actually takes me to the next screen which is not what ...
0
votes
0
answers
33
views
I am trying to set up a typescript repo to use tsx for development but when ever I run tsx I get type errors
When I run the command tsx watch src/bootstrap/server.ts I get this error:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. ...
0
votes
0
answers
49
views
(NOBRIDGE) WARN [Layout children]: No route named "inspection/[projectId]/[itemId]" exists in nested children
(NOBRIDGE) WARN [Layout children]: No route named "inspection/[projectId]/[itemId]" exists in nested children: ["+not-found", "login", "new-project", "...
0
votes
0
answers
44
views
Loader does not disappear when home is loaded
I'm trying to build a website in NextJS. In order to improve the UX, I created a Loader component.
The problem
The problem is that, when I start the Next server, even though the page is correctly ...
0
votes
1
answer
60
views
Getting type errors form a snippet copied from Next.js 15 docs (opengraph-image.tsx)
In the Next.js 15.1.6 docs (App Router), the last code snippet on the Metadata Files: opengraph-image and twitter-image | Next.js page explains how to fetch a local image on the file system and pass ...