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
Nuxtjs/storybook should work like the documentation on storybook says it should.
What is actually happening?
An error is printed in the console and the build stops.
ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
ERR! at new NodeError (node:internal/errors:371:5)
ERR! at validateString (node:internal/validators:119:11)
ERR! at Object.isAbsolute (node:path:1157:5)
ERR! at /home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/preview/entries.js:88:54
ERR! at Array.map (<anonymous>)
ERR! at createPreviewEntry (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/preview/entries.js:87:44)
ERR! at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR! at async Object.entries (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/presets/preview-preset.js:24:26)
ERR! at async getConfig (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:54:17)
ERR! at async Object.start (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:95:16)
ERR! at async Promise.all (index 0)
ERR! at async storybookDevServer (/home/roy/source/components/node_modules/@storybook/core-server/dist/cjs/dev-server.js:123:28)
ERR! at async buildDevStandalone (/home/roy/source/components/node_modules/@storybook/core-server/dist/cjs/build-dev.js:112:31)
ERR! at async buildDev (/home/roy/source/components/node_modules/@storybook/core-server/dist/cjs/build-dev.js:154:5)
ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
ERR! at new NodeError (node:internal/errors:371:5)
ERR! at validateString (node:internal/validators:119:11)
ERR! at Object.isAbsolute (node:path:1157:5)
ERR! at /home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/preview/entries.js:88:54
ERR! at Array.map (<anonymous>)
ERR! at createPreviewEntry (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/preview/entries.js:87:44)
ERR! at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR! at async Object.entries (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/presets/preview-preset.js:24:26)
ERR! at async getConfig (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:54:17)
ERR! at async Object.start (/home/roy/source/components/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:95:16)
ERR! at async Promise.all (index 0)
ERR! at async storybookDevServer (/home/roy/source/components/node_modules/@storybook/core-server/dist/cjs/dev-server.js:123:28)
ERR! at async buildDevStandalone (/home/roy/source/components/node_modules/@storybook/core-server/dist/cjs/build-dev.js:112:31)
ERR! at async buildDev (/home/roy/source/components/node_modules/@storybook/core-server/dist/cjs/build-dev.js:154:5) {
ERR! code: 'ERR_INVALID_ARG_TYPE'
ERR! }
The text was updated successfully, but these errors were encountered:
Version
@nuxtjs/storybook: 4.2.0
nuxt: 2.15.7
Steps to reproduce
Create an empty nuxt project with @nuxtjs/storybook installed.
set nuxt.config.js to this:
What is Expected?
Nuxtjs/storybook should work like the documentation on storybook says it should.
What is actually happening?
An error is printed in the console and the build stops.
The text was updated successfully, but these errors were encountered: