Skip to content

Instantly share code, notes, and snippets.

@bilalbhojani24
Created July 31, 2023 07:24
Show Gist options
  • Save bilalbhojani24/ce555ff49f3ca0373fd7b8c5c79f45db to your computer and use it in GitHub Desktop.
Save bilalbhojani24/ce555ff49f3ca0373fd7b8c5c79f45db to your computer and use it in GitHub Desktop.
Build fails
12:40:14 Initializing build
12:40:14 Got environment:
12:40:14 {}
12:40:14 Initialized build
12:40:14 → Build 449 initialized
12:40:15 → Command failed with exit code 243: npm --version
12:40:15
12:40:15 ✖ Failed to build Storybook
12:40:15 Command failed with exit code 243: npm --version
12:40:15 → View the full stacktrace below
12:40:15
12:40:15 If you need help, please chat with us at https://www.chromatic.com/docs/cli for the fastest response.
12:40:15 You can also email the team at [email protected] if chat is not an option.
12:40:15
12:40:15 Please provide us with the above CLI output and the following info:
12:40:15 {
12:40:15 "timestamp": "2023-07-31T07:10:15.098Z",
12:40:15 "sessionId": "451eb238-b2da-42fa-82e5-ffb4aa68c2f4",
12:40:15 "gitVersion": "2.36.6",
12:40:15 "nodePlatform": "linux",
12:40:15 "nodeVersion": "18.4.0",
12:40:15 "packageName": "chromatic",
12:40:15 "packageVersion": "6.17.0",
12:40:15 "storybook": {
12:40:15 "addons": [
12:40:15 {
12:40:15 "name": "links",
12:40:15 "packageName": "@storybook/addon-links",
12:40:15 "packageVersion": "6.5.16"
12:40:15 },
12:40:15 {
12:40:15 "name": "essentials",
12:40:15 "packageName": "@storybook/addon-essentials",
12:40:15 "packageVersion": "6.5.16"
12:40:15 },
12:40:15 {
12:40:15 "name": "a11y",
12:40:15 "packageName": "@storybook/addon-a11y",
12:40:15 "packageVersion": "6.5.16"
12:40:15 },
12:40:15 {
12:40:15 "packageName": "storybook-addon-designs",
12:40:15 "packageVersion": "6.3.1"
12:40:15 },
12:40:15 {
12:40:15 "packageName": "addon-screen-reader",
12:40:15 "packageVersion": "1.8.6"
12:40:15 },
12:40:15 {
12:40:15 "packageName": "storybook-addon-sass-postcss",
12:40:15 "packageVersion": "0.1.3"
12:40:15 }
12:40:15 ],
12:40:15 "viewLayer": "react",
12:40:15 "version": "6.5.16",
12:40:15 "builder": {
12:40:15 "name": "webpack5",
12:40:15 "packageVersion": "6.5.16"
12:40:15 }
12:40:15 },
12:40:15 "flags": {
12:40:15 "projectToken": [
12:40:15 "e55097a5c9b3"
12:40:15 ],
12:40:15 "autoAcceptChanges": "",
12:40:15 "debug": true,
12:40:15 "ci": true,
12:40:15 "outputDir": [],
12:40:15 "storybookBuildDir": [],
12:40:15 "externals": [],
12:40:15 "onlyStoryFiles": [],
12:40:15 "onlyStoryNames": [],
12:40:15 "untraced": [],
12:40:15 "interactive": true,
12:40:15 "appCode": []
12:40:15 },
12:40:15 "buildScript": "STORYBOOK_INTERACTION=false build-storybook",
12:40:15 "exitCode": 0,
12:40:15 "exitCodeKey": "OK",
12:40:15 "errorType": "Error",
12:40:15 "errorMessage": "✖ Failed to build Storybook"
12:40:15 }
12:40:15
12:40:15 Error: ✖ Failed to build Storybook
12:40:15 Command failed with exit code 243: npm --version
12:40:15 at e.exports (/home/app/frontend/node_modules/.pnpm/[email protected]/node_modules/chromatic/bin/main.cjs:81:338657)
12:40:15 at /home/app/frontend/node_modules/.pnpm/[email protected]/node_modules/chromatic/bin/main.cjs:81:335835
12:40:15 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
12:40:15
12:40:15  ELIFECYCLE  Command failed with exit code 255.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment