chromatic-cli icon indicating copy to clipboard operation
chromatic-cli copied to clipboard

Cannot run a build with no stories

Open adrianiy opened this issue 3 years ago • 1 comments

Problem Hi! i'm getting a error after publishing that says cannot run a build with no stories. But the storybook is published ok and it is visible in the preview url, the only thing that i see not working is the isolatorUrl.

I've checked the build log and everything seems to works ok.

Context My project is a lerna monorepo with different frameworks (stencil, react, angular...) so i'm trying to workaround the publication by compiling all storybooks in subfolders of root storybook (html).

So it looks like this: image

so angular and web-components have their own built storybook files referenced in main.js like:

    refs: (config, { configType }) => {

        return {
            webComponents: {
                title: 'Web Components',
                url: '/web-components',
            },
            angular: {
                title: 'Angular',
                url: '/angular',
            },
        };
    },

everything works ok with npx http-server storybook-static .... i'm very lost, would appreciate any kind of help 😃

FYI with npx http-server storybook-static if i go to http://127.0.0.1:8080/iframe.html i get: image

adrianiy avatar Mar 30 '21 18:03 adrianiy

Hi @adrianiy -- can you please email [email protected] with your account ID so that we can take a look at your specific setup in detail?

kylesuss avatar Apr 16 '21 15:04 kylesuss