Skip to content

fix(react): normalize paths correctly when generating stories#31944

Merged
leosvelperez merged 1 commit intomasterfrom
fix/react-stories
Jul 16, 2025
Merged

fix(react): normalize paths correctly when generating stories#31944
leosvelperez merged 1 commit intomasterfrom
fix/react-stories

Conversation

@leosvelperez
Copy link
Copy Markdown
Member

@leosvelperez leosvelperez commented Jul 16, 2025

Current Behavior

When generating stories, the generation can fail due to a bad path normalization with:

 NX   Failed to read src/src/app/app.tsx

Pass --verbose to see the stacktrace.

Expected Behavior

Generating stories should work correctly.

@leosvelperez leosvelperez self-assigned this Jul 16, 2025
@leosvelperez leosvelperez requested a review from a team as a code owner July 16, 2025 14:14
@leosvelperez leosvelperez requested a review from xiongemi July 16, 2025 14:14
@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 16, 2025

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

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jul 16, 2025 2:26pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Jul 16, 2025

View your CI Pipeline Execution ↗ for commit 45f5b1a

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

☁️ Nx Cloud last updated this comment at 2025-07-16 14:54:13 UTC

@leosvelperez leosvelperez enabled auto-merge (squash) July 16, 2025 14:27
@leosvelperez leosvelperez merged commit 71b958c into master Jul 16, 2025
6 checks passed
@leosvelperez leosvelperez deleted the fix/react-stories branch July 16, 2025 14:54
FrozenPandaz pushed a commit that referenced this pull request Jul 16, 2025
## Current Behavior

When generating stories, the generation can fail due to a bad path
normalization with:

```bash
 NX   Failed to read src/src/app/app.tsx

Pass --verbose to see the stacktrace.
```

## Expected Behavior

Generating stories should work correctly.

(cherry picked from commit 71b958c)
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants