Closed mauris closed 1 year ago
Currently, in order for me to move on from here, I have to explicitly install webpack@^5.75.0
by running npm i -D webpack@^5.75.0
.
It's the same issue as https://github.com/nrwl/nx/issues/14455
WIll be fixed in the next patch release once the PR lands (https://github.com/nrwl/nx/pull/14480).
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
Getting the error after running
npx nx run <libName>:build-storybook
following a fresh test setup on NX v15.5.2:Steps:
test
usingnpx create-nx-workspace --preset=react
@nrwl/storybook
usingnpm install -D @nrwl/storybook
mode
usingnpx nx g @nrwl/react:library
mode
withnpx nx g @nrwl/storybook:configuration mode
npx nx run mode:build-storybook
If I ran
npm ls webpack
, I get the followingExpected Behavior
I should be able to run
build-storybook
target successfully.Github Repo
No response
Steps to Reproduce
Steps:
test
usingnpx create-nx-workspace --preset=react
@nrwl/storybook
usingnpm install -D @nrwl/storybook
mode
usingnpx nx g @nrwl/react:library
mode
withnpx nx g @nrwl/storybook:configuration mode
npx nx run mode:build-storybook
Nx Report
Failure Logs
No response
Additional Information
No response