289 questions
1
vote
1
answer
21
views
TypeScript cannot resolve "@repo/typescript-config/backends.json" in Turborepo + PNPM workspace
I’m using Turborepo with PNPM workspaces, and I have a shared TypeScript config package located at:
packages/typescript-config/
backends.json
package.json
Inside apps/http-server/tsconfig.json I ...
0
votes
1
answer
46
views
Missing DATABASE_URL environment variable for Prisma in Turborepo when deploying
I am trying to deploy a Next.js frontend from my Turborepo monorepo to Vercel. The deployment fails during the build step when it tries to run prisma generate.
The error log clearly shows that the ...
1
vote
0
answers
51
views
Module not found: Can't resolve # when using turborepo with nextjs and `imports`
I have a monorepo built with turborepo. Packages compilation works fine but there is an error when I try to build entire monorepo including my nextjs app. This is my package.json and tsconfig.ts of my ...
0
votes
0
answers
55
views
How to import from files in the same TurboRepo package, PNPM
I’m working on a monorepo using pnpm with multiple apps and a shared package (packages/common).
My ws-server app imports types and utilities from packages/common/src/types and messageUtils.ts. The ...
0
votes
0
answers
54
views
Sharing context across apps/packages in Turborepo
My turborepo has several packages, one of which is a ui library that uses some context providers. I export these context providers (Theme, Toast, etc.) so that I can use my UI components in my apps ...
2
votes
1
answer
301
views
Tailwind CSS not applying in Turborepo monorepo with shared tailwind-config package and UI component library and storybook
Description
I have a Turborepo monorepo set up with the following structure:
root/
├── apps/
│ ├── web/ # Next.js app
│ │ ├── src/
│ │ ├── package.json
│ │ ├── tailwind....
0
votes
0
answers
523
views
Deploying nextjs turbopack application returns 404 error
I have a Next.js 15 application that builds successfully on AWS Amplify but returns a 404 error when accessing the deployed site. The build completes without errors, but the homepage and other routes ...
0
votes
0
answers
80
views
TurboRepo Internal Server Error next-js for loacl host
when you freshly download the tubrorepo using npx create-turbo@latest and uses npm than if you try to open the nextjs website in local host you face the interval server error problem which can be ...
0
votes
0
answers
33
views
NodeJS Monorepo Build Workspaces in Desired Sequence
I've plan to setup a monorepo project, and I am about to use the TurboRepo for that.
My question here is:- can I determine the build sequence of the workspaces declared in the root package.json?
In my ...
0
votes
0
answers
90
views
Structure for Publishing a Packages Only Monorepo to NPM
I want to publish an npm module that provides modules as follows:
appname/react
appname/utils
with a turborepo I created with the following structure:
appname
/packages
react
utils
both ...
0
votes
1
answer
263
views
Error when running next build in nextjs monorepo turborepo
I have a turborepo with 2 NextJS projects in it.
When I run next build I get this error:
[TypeError: Cannot read properties of null (reading 'useContext')]
Error occurred prerendering page "/404&...
0
votes
0
answers
189
views
TailwindCSS styles from shared packages/ui are not applying in Next.js 15 + Turbopack app (Turborepo monorepo) [duplicate]
I'm building a Turborepo monorepo with this stack:
Next.js 15
Turbopack (Next.js 15 default)
TailwindCSS 4
packages/ui: a shared React component library (published locally with import alias @waspos/...
1
vote
1
answer
111
views
Detection of an external (non-package, static) source outside the project
TL;DR: Inside a shared UI library in a Turborepo, styling a component inline with Tailwind CSS classes in @repo/ui does not render the component properly in web, whereas styling the component through ...
0
votes
1
answer
42
views
Consuming Packages from Turborepo A within Turborepo B
What is the best way to consume the internal packages of Turborepo A within Turborepo B? Is the convention to place the Turborepo B directory within Turborepo A/apps/ or is there another way to link ...
0
votes
1
answer
120
views
turborepo NEXT_PUBLIC build variables not correctly used in next.js when passing over docker
I somehow cant access my build variables on my next.js app when i pass them in the docker compose file. When i print the process.env in the docker environment It is correctly configured and set but ...
0
votes
1
answer
88
views
React-Admin Dependency Issue in Turborepo Monorepo: MUI, emotion and etc... Not Resolved
I’m using a monorepo managed by Turborepo, and I recently moved my React-Admin project into it. In my standalone React-Admin setup, I didn’t need to manually install MUI (@mui/material) because it’s a ...
0
votes
0
answers
151
views
Facing issue using PNPM workspace with turborepo
when running pnpm install it stucks or fails at installing script specifically sharp
and pnpm dev or any other similar commmand is also not working simply just show what that command is about in ...
1
vote
1
answer
383
views
With Syncpack on a turborepo how to set app version dependencies through a package?
In a turborepo with Syncpack setup if I have 10 apps that all use the same 30 dependencies how can I properly build that out in the .syncpackrc file?
within the app package.json
apps/foo
package.json:
...
0
votes
0
answers
639
views
Set up Docker with my turbo repo NextJS project, I did not see static files
Context into tools: I'm using in the repo:
Turborepo (https://turbo.build/)
Docker
NextJS
So I'm having trouble trying to figure out what I'm doing wrong with docker... When I run the project in ...
0
votes
0
answers
954
views
Cannot find module '@repo/example' in Turborepo monorepo project
I am working on a turborepo project and I built myself a simple package like in a video but as soon as I type import {} from '@repo/example'; the '@repo/example' part gets highlighted by vscode and it ...
1
vote
0
answers
130
views
Where to put reusable components in nextjs monorepo scaffold with turboreepo and shadcn?
I followed how shadcn/ui is suggesting to configure a monorepo. But my main concern is reusable components build with shadcn/ui. Where to put it?
For an example, in most of the apps in apps/** will be ...
-1
votes
1
answer
1k
views
Unexpected import error in turborepo package
I am working on my first demo project with TurboRepo. Plan is to create a types named internal package which will share types to the UI as well as to the Server. I followed these steps to create types ...
0
votes
1
answer
492
views
How to build an astro.build app inside a dockerfile (turborepo)
This is my current setup:
FROM node:lts-alpine AS base
FROM base AS builder
RUN apk update && apk add --no-cache libc6-compat
# Set working directory
WORKDIR /repo
RUN npm install -g turbo
...
0
votes
0
answers
191
views
Turborepo Wildcard Exports with React
I'm new to Turborepo and am trying to export a component library from an internal package (@package-a). But when I go to import a component in @package-b I get the following error:
Cannot find module '...
2
votes
2
answers
1k
views
`Images in this message are hidden. This message might be suspicious or spam.` in gmail when sending transactional email with resend/react email
I'm experiencing an issue with Gmail hiding images in transactional emails sent through Resend, despite having proper DNS configuration and verification.
Setup:
Turborepo monorepo deployed on Vercel
...