You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is a typo 'node-modules' instead of node_modules in root detection in lib/core/src/server/config/utils.js in storybook 6.x
To Reproduce
Steps to reproduce the behavior:
Start storybook without .git or .svn folder in root. You got an "Module parse failed: Unexpected token (9:31)" because the babel loader did not include the right root.
Expected behavior
Start and compile js and jsx files correctly.
Code snippets result = result || __dirname.split('node-modules')[0]; should be result = result || __dirname.split('node_modules')[0];
A PR will follow.
The text was updated successfully, but these errors were encountered:
Describe the bug
There is a typo 'node-modules' instead of node_modules in root detection in lib/core/src/server/config/utils.js in storybook 6.x
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Start and compile js and jsx files correctly.
Code snippets
result = result || __dirname.split('node-modules')[0];
should be result = result || __dirname.split('node_modules')[0];A PR will follow.
The text was updated successfully, but these errors were encountered: