Closed squrious closed 10 months ago
En suivant t'as doc j'ai eu une erreur:
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: @storybook/symfony-webpack5/preset.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
Error: Cannot find module 'fast-xml-parser'
Require stack:
- /Users/matheodaninos/Project/contributing/StorybookBundle/storybook/dist/preset.js
- ./node_modules/@storybook/core-common/dist/index.js
- ./node_modules/@storybook/telemetry/dist/index.js
- ./node_modules/@storybook/cli/dist/generate.js
- ./node_modules/@storybook/cli/bin/index.js
- ./node_modules/storybook/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/Users/matheodaninos/Project/contributing/StorybookBundle/storybook/dist/preset.js:10:21)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._compile (./node_modules/esbuild-register/dist/node.js:2258:26)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Object.newLoader (./node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (./node_modules/esbuild-register/dist/node.js:4838:24)
at loadPreset (./node_modules/@storybook/core-common/dist/index.js:15:82)
Add hot reload for Twig Components by loading templates as JS dependencies of stories modules.
Add hot reload for AssetMapper assets by generating a virtual importmap module.
Add tests for PHP and JS source codes.