#Getting this error on CI pipeline but works fine when I run the command locally.

3 messages · Page 1 of 1 (latest)

gray oxide
#

I'm using the following versions for the packages below:

    "@storybook/test-runner": "^0.13.0",
    "@testing-library/jest-dom": "^6.1.3",
    "@testing-library/react": "^14.0.0"

main.ts:

module.exports = {
  stories: ['../src/**/*.stories.@(js|jsx|ts|tsx|mdx)'],

  addons: [
    '@storybook/addon-links',
    '@storybook/addon-essentials',
    '@storybook/addon-interactions',
    'storybook-addon-intl',
    '@storybook/addon-docs',
    '@storybook/addon-a11y',
    '@storybook/addon-mdx-gfm',
  ],

  framework: {
    name: '@storybook/react-vite',
    options: {},
  },

  features: {
    storyStoreV7: true,
    previewMdx2: true,
    interactionsDebugger: true,
    buildStoriesJson: true,
  }```

Scripts being used:

"build-storybook": "storybook build",
"test-storybook": "test-storybook",
"test-storybook:ci": "concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent" "wait-on tcp:6006 && yarn test-storybook"",


While I run `test-storybook:ci` locally, it runs fine in terminal but not in CI pipeline. 
Am I missing something ?

Found a similar issue on GitHub: https://github.com/storybookjs/storybook/issues/19350#issuecomment-1268180590

Any help would be appreciated. 🙏
GitHub

Describe the bug If you have a top-level error in a CSF file, causing the file not to execute, it is "swallowed" by executeLoadable: storybook/code/lib/core-client/src/preview/executeLoad...

gray oxide
#

Also, here's the features that I'm using:

    storyStoreV7: true,
    previewMdx2: true,
    interactionsDebugger: true,
    buildStoriesJson: true,
  },```

@stray agate I checked your comment on the above github issue but still couldn't get much out of it. I hope it's okay to tag you.
Let me know if you want to know anything more on this issue.
gray oxide
#

@stable sable can you please help me in tagging the right guy for my query posted above ? Thanks 🙏