Skip to content
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

storybookのエラー #46

Open
kur00 opened this issue Jul 21, 2022 · 0 comments
Open

storybookのエラー #46

kur00 opened this issue Jul 21, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kur00
Copy link
Collaborator

kur00 commented Jul 21, 2022

storybook: "@storybook/react": "^6.5.9",

WARN   Failed to load preset: {"type":"presets"} on level 1
ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "id" 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:120:11)
ERR!     at Module.require (node:internal/modules/cjs/loader:998:3)
ERR!     at require (node:internal/modules/cjs/helpers:102:18)
ERR!     at interopRequireDefault (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:178:16)
ERR!     at getContent (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:194:10)
ERR!     at loadPreset (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:203:20)
ERR!     at /Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:256:18
ERR!     at Array.reduce (<anonymous>)
ERR!     at loadPresets (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:255:18)
ERR!  TypeError [ERR_INVALID_ARG_TYPE]: The "id" 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:120:11)
ERR!     at Module.require (node:internal/modules/cjs/loader:998:3)
ERR!     at require (node:internal/modules/cjs/helpers:102:18)
ERR!     at interopRequireDefault (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:178:16)
ERR!     at getContent (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:194:10)
ERR!     at loadPreset (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:203:20)
ERR!     at /Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:256:18
ERR!     at Array.reduce (<anonymous>)
ERR!     at loadPresets (/Users/kur0/Developments/works/Footprint-Jibungoto/node_modules/@storybook/core-common/dist/cjs/presets.js:255:18) {
ERR!   code: 'ERR_INVALID_ARG_TYPE'
ERR! }
@kur00 kur00 added bug Something isn't working help wanted Extra attention is needed labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant