-
SummaryI have a monorepo using Turborepo. My folder structure includes apps/api (a .NET 8 Web API) and apps/ui (a React/TS app). If I cd into apps/api and run dotnet build, everything works. But when I run turbo run build (or turbo run build --filter=api) from the repo root, I get an error like: Additional informationMy `apps/api` folder has a minimal `.csproj`:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project> And a
My turbo.json in the root looks like:
When I run Question: How can I fix this error so Turborepo’s
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I have exact the same issue, any update/workaround for this? |
Beta Was this translation helpful? Give feedback.
ok, so this is actually a feature of turbo ;-) you can opt-out by using
--env-mode=loose
so
turbo dev --env-mode=loose