screener-storybook
screener-storybook copied to clipboard
screener-storybook is broken on storybook v7
After updating storybook to v7 (v7.1.1) screener-storybook got broken with the following error:
17:15:44 DEBUG: GET http://localhost:2000 null 200
17:15:44 DEBUG: previewRoute /iframe.html
17:15:46 DEBUG: GET http://localhost:2000/iframe.html
17:16:18 TimeoutError: Waiting failed: 30000ms exceeded
17:16:18 at Timeout.<anonymous> (/mnt/data/builds/12/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js:64:32)
17:16:18 at listOnTimeout (node:internal/timers:569:17)
17:16:18 at process.processTimers (node:internal/timers:512:7)
17:16:18 DEBUG: config.storybookPort 2000
17:16:18 Error getting Storybook object
17:16:18 Please send debug output to [email protected]
17:16:18 DEBUG: Error: Storybook object not found
17:16:18 at exports.get [as getStorybook] (/mnt/data/builds/12/node_modules/screener-storybook/src/storybook.js:300:11)
17:16:18 at /mnt/data/builds/12/node_modules/screener-storybook/src/cli.js:50:35
17:16:18 at tryCatcher (/mnt/data/builds/12/node_modules/bluebird/js/release/util.js:16:23)
17:16:18 at Promise._settlePromiseFromHandler (/mnt/data/builds/12/node_modules/bluebird/js/release/promise.js:547:31)
17:16:18 at Promise._settlePromise (/mnt/data/builds/12/node_modules/bluebird/js/release/promise.js:604:18)
17:16:18 at Promise._settlePromise0 (/mnt/data/builds/12/node_modules/bluebird/js/release/promise.js:649:10)
17:16:18 at Promise._settlePromises (/mnt/data/builds/12/node_modules/bluebird/js/release/promise.js:729:18)
17:16:18 at Promise._fulfill (/mnt/data/builds/12/node_modules/bluebird/js/release/promise.js:673:18)
17:16:18 at /mnt/data/builds/12/node_modules/bluebird/js/release/nodeback.js:42:21
17:16:18 at done (/mnt/data/builds/12/node_modules/screener-storybook/src/storybook.js:93:11)
17:16:18 ---
17:16:18 Exiting Screener Storybook
17:16:18 Run with --debug flag to log additional information
17:16:18 Need help? Contact: [email protected]
17:16:18 error Command failed with exit code 1.
17:16:18 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I thought it's already been handled here - https://github.com/screener-io/screener-storybook/issues/147 Can you verify please?
CC: @sauce-tartar