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
Describe the bug
manager-cache will break the somke-test
To Reproduce
npx start-storybook --smoke-test --ci
First-time run (never build)
webpack built 63fdee694f60db7dafce in 22963ms
ERR! Error: ENOENT: no such file or directory, open '***\node_modules\.cache\storybook\public\preview-stats.json'
ERR! [Error: ENOENT: no such file or directory, open '***\node_modules\.cache\storybook\public\preview-stats.json'] {
ERR! errno: -4058,
ERR! code: 'ENOENT',
ERR! syscall: 'open',
ERR! path: '***\\node_modules\\.cache\\storybook\\public\\preview-stats.json'
ERR! }
run after a successful build
webpack built 63fdee694f60db7dafce in 22757ms
ERR! TypeError: stats.toJson is not a function
ERR! at writeStats (***\node_modules\@storybook\core\dist\server\build-dev.js:81:142)
ERR! at outputStats (***\node_modules\@storybook\core\dist\server\build-dev.js:268:9)
ERR! at async buildDevStandalone (***\node_modules\@storybook\core\dist\server\build-dev.js:320:7)
ERR! at async buildDev (***\node_modules\@storybook\core\dist\server\build-dev.js:374:3)
ERR! TypeError: stats.toJson is not a function
ERR! at writeStats (***\node_modules\@storybook\core\dist\server\build-dev.js:81:142)
ERR! at outputStats (***\node_modules\@storybook\core\dist\server\build-dev.js:268:9)
ERR! at async buildDevStandalone (***\node_modules\@storybook\core\dist\server\build-dev.js:320:7)
ERR! at async buildDev (***\node_modules\@storybook\core\dist\server\build-dev.js:374:3)
Describe the bug
manager-cache will break the somke-test
To Reproduce
First-time run (never build)
run after a successful build
System
Additional context
it works when disabled manager-cache.
it runs ok.
The text was updated successfully, but these errors were encountered: