-
Notifications
You must be signed in to change notification settings - Fork 2.5k
@nx/vue stories generator fails with: The "path" argument must be of type string #30955
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
Open
1 of 4 tasks
Open
1 of 4 tasks
Labels
Comments
This issue is present for @nx/webpack as well ┃ > storybook dev
┃
┃ @storybook/core v8.6.12
┃
┃ info => Starting manager..
┃ info => Starting preview..
┃ info Addon-docs: using MDX3
┃ => Loading Nx React Storybook Addon from "@nx/react/plugins/storybook" ┃
┃ => Failed to build the preview
┃ TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined ┃
┃ at Object.join (node:path:1175:7)
┃ at createLoaderFromCompiler (/project/node_modules/@nx/webpack/src/plugins/nx-webpack-plugin/lib/compiler-loaders.js:59:31)
┃ at applyNxDependentConfig (/project/node_modules/@nx/webpack/src/plugins/nx-webpack-plugin/lib/apply-base-config.js:363:61)
┃ at applyBaseConfig (/project/node_modules/@nx/webpack/src/plugins/nx-webpack-plugin/lib/apply-base-config.js:41:5)
┃ at configure (/project/node_modules/@nx/webpack/src/utils/with-nx.js:15:49)
┃ at combined (/project/node_modules/@nx/webpack/src/utils/config.js:36:22)
┃ at Object.webpack (/project/node_modules/@nx/react/plugins/storybook/index.js:143:25)
┃ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
┃ at async starter (/project/node_modules/@storybook/builder-webpack5/dist/index.js:1:22249)
┃ at async Module.start (/project/node_modules/@storybook/builder-webpack5/dist/index.js:1:26054) |
@brpowell the following PR should fix the error on webpack |
@brpowell , could you test using my branch? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
When running
nx g @nx/vue:stories --interactionTests=true
an error occurs if a new story has to be created.Expected Behavior
Stories should be created after running the generator.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: