We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When use latest version of pnpm with .npmrc like this:
store-dir=${HOME}/.some-folder/pnpm-store virtual-store-dir=${HOME}/.some-folder/pnpm-virtual-store
About store-dir and virtual-store-dir.
So in case when my node modules located somewhere outside the project then used babel-loader for preview - https://github.com/storybookjs/storybook/blob/7a86f0363ef184a80437b7abf98e98d86e821f75/code/lib/builder-webpack5/src/preview/babel-loader-preview.ts defines include property incorrectly. As a result babel-loader not transpile my storybook components and I got some TS error.
include
The problem in this getProjectRoot method -
getProjectRoot
storybook/code/lib/core-common/src/utils/paths.ts
Lines 4 to 29 in 7035ea7
node_modules
To fix this problem, I need to change include option for babel-loader inside webpackFinal.
babel-loader
webpackFinal
Another bug with this method - #14042
No response
The text was updated successfully, but these errors were encountered:
i'm getting issue with testing everytime i use pnpm even in other projects , so I have to clean the cache I remove all node_modules and build again
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When use latest version of pnpm with .npmrc like this:
About store-dir and virtual-store-dir.
So in case when my node modules located somewhere outside the project then used babel-loader for preview - https://github.com/storybookjs/storybook/blob/7a86f0363ef184a80437b7abf98e98d86e821f75/code/lib/builder-webpack5/src/preview/babel-loader-preview.ts defines
include
property incorrectly. As a result babel-loader not transpile my storybook components and I got some TS error.The problem in this
getProjectRoot
method -storybook/code/lib/core-common/src/utils/paths.ts
Lines 4 to 29 in 7035ea7
node_modules
inside my virtual store in home and thinks that my components located in one directory up.To fix this problem, I need to change
include
option forbabel-loader
insidewebpackFinal
.Another bug with this method - #14042
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: