Skip to content

Conversation

balmasich
Copy link

@balmasich balmasich commented May 23, 2025

Resolve issue when
projectRoot was created from
join workspaceRoot and projectNode.data.root
but method createTmpTsConfig also make join

Current Behavior

 method withNx create
 const projectRoot = join(workspaceRoot, projectNode.data.root);

method createTmpTsConfig
apply also join

  const tmpTsConfigPath = join(
    workspaceRoot,
    'tmp',
    projectRoot,
    process.env.NX_TASK_TARGET_TARGET ?? 'build',
    `tsconfig.generated.${randomUUID()}.json`
  );

Expected Behavior

Related Issue(s)

Fixes #31522

@balmasich balmasich requested a review from a team as a code owner May 23, 2025 07:10
@balmasich balmasich requested a review from Coly010 May 23, 2025 07:10
Copy link

vercel bot commented May 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jun 27, 2025 9:47am

@balmasich balmasich changed the title fix(nx): correct project path for createTmpTsConfig fix(nx-rollup): correct project path for createTmpTsConfig May 23, 2025
@FrozenPandaz FrozenPandaz added the priority: medium Medium Priority (not high, not low priority) label Jun 23, 2025
Copy link
Contributor

nx-cloud bot commented Jun 27, 2025

View your CI Pipeline Execution ↗ for commit 6b52899.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ❌ Failed 28m 3s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 17s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 2s View ↗
nx documentation ✅ Succeeded 2m 17s View ↗

Nx Cloud AI Fix

Nx Cloud AI analyzes your failing CI tasks and automatically generates fixes whenever possible.

Description Status Link
Fix generation in progress ⏳ Not applied    View ↗  

☁️ Nx Cloud last updated this comment at 2025-06-27 10:10:15 UTC

@Coly010 Coly010 changed the title fix(nx-rollup): correct project path for createTmpTsConfig fix(bundling): correct project path for createTmpTsConfig Jun 27, 2025
@Mr-Jami
Copy link

Mr-Jami commented Jul 14, 2025

@Coly010 any updated on this? receiving the same error

@balmasich do you have a temporary solution for this issue? thanks

@FFGFlash
Copy link

Hello @Coly010,
This issue has gone without any updates for a while, is there any chance we can get an update on it's status. I'd really like to use the rollup bundler for my project, but currently I'm forced to use vite as the next best thing, which I believe to be a bit overkill for what I'm doing.

@apolyanov
Copy link

Why is this issue ignored for so long when it's breaking all windows platforms?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium Priority (not high, not low priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to build library with rollup
6 participants