tide-app / tide

Explore a world of sounds!
https://tide-app.vercel.app/
MIT License
10 stars 4 forks source link

`yarn storybook` doesn't work #369

Closed hamirmahal closed 1 year ago

hamirmahal commented 1 year ago

I tested this with 38a4547751a4ea7a3c90d4945170c428464d7799.

really long error message
``` tide$ yarn storybook yarn run v1.22.15 $ start-storybook -p 6006 -s public --no-dll info @storybook/react v6.5.16 info (node:2356) DeprecationWarning: DLL-related CLI flags are deprecated, see: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-dll-flags (Use `node --trace-deprecation ...` to show where the warning was created) (node:2356) DeprecationWarning: --static-dir CLI flag is deprecated, see: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated---static-dir-cli-flag info => Loading presets attention => Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://storybook.js.org/telemetry info => Serving static files from ./public at / info Addon-docs: using MDX1 info => Loading Webpack configuration from `node_modules/react-scripts` info => Removing existing JavaScript and TypeScript rules. info => Modifying Create React App rules. info => Using prebuilt manager info => Using default Webpack4 setup ERR! WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. ERR! - configuration.module.rules[5].oneOf[9].type should be one of these: ERR! "javascript/auto" | "javascript/dynamic" | "javascript/esm" | "json" | "webassembly/experimental" ERR! -> Module type to use for the module ERR! at webpack (/home/hamir/repositories/tide/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/webpack.js:31:9) ERR! at starterGeneratorFn (/home/hamir/repositories/tide/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:137:18) ERR! at starterGeneratorFn.next () ERR! at Object.start (/home/hamir/repositories/tide/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:275:34) ERR! at async Promise.all (index 0) ERR! at async storybookDevServer (/home/hamir/repositories/tide/node_modules/@storybook/core-server/dist/cjs/dev-server.js:203:28) ERR! at async buildDevStandalone (/home/hamir/repositories/tide/node_modules/@storybook/core-server/dist/cjs/build-dev.js:120:31) ERR! at async buildDev (/home/hamir/repositories/tide/node_modules/@storybook/core-server/dist/cjs/build-dev.js:174:5) ERR! WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. ERR! - configuration.module.rules[5].oneOf[9].type should be one of these: ERR! "javascript/auto" | "javascript/dynamic" | "javascript/esm" | "json" | "webassembly/experimental" ERR! -> Module type to use for the module ERR! at webpack (/home/hamir/repositories/tide/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/webpack.js:31:9) ERR! at starterGeneratorFn (/home/hamir/repositories/tide/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:137:18) ERR! at starterGeneratorFn.next () ERR! at Object.start (/home/hamir/repositories/tide/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:275:34) ERR! at async Promise.all (index 0) ERR! at async storybookDevServer (/home/hamir/repositories/tide/node_modules/@storybook/core-server/dist/cjs/dev-server.js:203:28) ERR! at async buildDevStandalone (/home/hamir/repositories/tide/node_modules/@storybook/core-server/dist/cjs/build-dev.js:120:31) ERR! at async buildDev (/home/hamir/repositories/tide/node_modules/@storybook/core-server/dist/cjs/build-dev.js:174:5) WARN Broken build, fix the error above. WARN You may need to refresh the browser. info => Loading presets ✔ Would you like to send crash reports to Storybook? … yes error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. tide$ git status HEAD detached at 38a4547 ```

image