Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nextjs): re-enable storybook test #20074

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

mandarini
Copy link
Member

@mandarini mandarini commented Nov 6, 2023

related: #19661

The e2e-next-extensions suite fails for Storybook+Next with the following error:

 >  NX   Storybook failed to load the following preset: @storybook/nextjs/preset.

On normal (non-CI) environments, it works fine (nx build-storybook my-nest-app works fine).

I noticed that when I opened the project that was generated by the E2E test, and ran nx build-storybook there, the same issue appeared. Once I installed the dependencies again (npm i), the error went away. There must be an issue with the first install in the e2e tests. So, calling npm i again fixes the issue on e2e, too.

@mandarini mandarini requested a review from a team as a code owner November 6, 2023 16:08
Copy link

vercel bot commented Nov 6, 2023

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2023 10:32am

@mandarini mandarini marked this pull request as draft November 6, 2023 16:08
@mandarini mandarini self-assigned this Nov 6, 2023
@mandarini mandarini force-pushed the fix/re-enable-next-sb-test branch 2 times, most recently from c6454ea to 8cfc098 Compare November 7, 2023 10:08
@mandarini mandarini force-pushed the fix/re-enable-next-sb-test branch from 8cfc098 to 00d68f4 Compare November 7, 2023 10:31
@mandarini mandarini marked this pull request as ready for review November 7, 2023 10:34
@mandarini mandarini requested a review from a team as a code owner November 7, 2023 10:34
@mandarini mandarini requested review from Coly010 and jaysoo November 7, 2023 10:34
@mandarini mandarini merged commit 8730395 into nrwl:master Nov 7, 2023
2 checks passed
Copy link

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 Nov 13, 2023
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