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
When building the storybook for an Angular project with one library and multiple application modules, I get the following error messages:
Chromatic CLI v5.9.2
https://www.chromatic.com/docs/cli
✔ Authenticated with Chromatic
→ Using project token '********80c7'
✔ Retrieved git information
→ Commit '9529be0' on branch 'master'; no parent commits found
✔ Collected Storybook metadata
→ Storybook v6.3.0-rc.11 for Angular; supported addons found: Actions, Essentials, Links
✖ Building your Storybook
→ Command failed: npm run --silent build-storybook -- --output-dir /var/folders/n8/c7jp3f912b3bhhjntr_f_xn40000gn/T/chromatic--1343-2n1zOQpAKcym
Publish your built Storybook
Verify your Storybook
Test your stories
The CLI tried to run your build-storybook script, but the command failed. This indicates a problem with your Storybook. Here's what to do:
- Check the Storybook build log printed below.
- Run npm run build-storybook or yarn build-storybook yourself and make sure it outputs a valid Storybook by opening the generated index.html in your browser.
- Review the build-storybook CLI options at https://storybook.js.org/docs/configurations/cli-options/#for-build-storybook
Operation timed out
ℹ Spawn settings:
{
"client": "npm",
"clientVersion": "6.14.13",
"nodeVersion": "v14.17.0",
"platform": "darwin",
"command": "npm",
"clientArgs": [
"run",
"--silent"
],
"scriptArgs": [
"build-storybook",
"--",
"--output-dir",
"/var/folders/n8/c7jp3f912b3bhhjntr_f_xn40000gn/T/chromatic--1343-2n1zOQpAKcym"
]
}
Starting type checking service...
[BABEL] Note: The code generator has deoptimised the styling of /Users/jorg/Development/ui2/node_modules/prettier/standalone.js as it exceeds the max of 500KB.
info => Preview built (27 s)
WARN System.import() is deprecated and will be removed soon. Use import() instead.
WARN For more info visit https://webpack.js.org/guides/code-splitting/
WARN System.import() is deprecated and will be removed soon. Use import() instead.
WARN For more info visit https://webpack.js.org/guides/code-splitting/
WARN DefinePlugin
WARN Conflicting values for 'process.env'
WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
WARN This can impact web performance.
WARN Assets:
WARN main.034046d1.iframe.bundle.js (530 KiB)
WARN 344.e6b90e31.iframe.bundle.js (4.14 MiB)
WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
WARN Entrypoints:
WARN main (4.66 MiB)
WARN runtime~main.42caf6c3.iframe.bundle.js
WARN 344.e6b90e31.iframe.bundle.js
WARN main.034046d1.iframe.bundle.js
WARN
info => Output directory: /var/folders/n8/c7jp3f912b3bhhjntr_f_xn40000gn/T/chromatic--1343-2n1zOQpAKcym
also, is there an option to restrict the directories, e.g. the following directories are included ... but should not
[15:00:18] Including : /Users/jorg/Development/ui2/dist/pick4d/stats.json
[15:00:18] Including : /Users/jorg/Development/ui2/storybook-static/iframe.html
[15:00:18] Including : /Users/jorg/Development/ui2/coverage/common/block-navigation.js
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When building the storybook for an Angular project with one library and multiple application modules, I get the following error messages:
also, is there an option to restrict the directories, e.g. the following directories are included ... but should not
[15:00:18] Including : /Users/jorg/Development/ui2/dist/pick4d/stats.json
[15:00:18] Including : /Users/jorg/Development/ui2/storybook-static/iframe.html
[15:00:18] Including : /Users/jorg/Development/ui2/coverage/common/block-navigation.js
What are my options?
Beta Was this translation helpful? Give feedback.
All reactions