storybookjs / builder-vite

A builder plugin to run and build Storybooks with Vite
MIT License
886 stars 109 forks source link

[Bug] ENOENT: no such file or directory, rename ... deps_temp #553

Closed pooyaEst closed 1 year ago

pooyaEst commented 1 year ago

What version of vite are you using?

4.1.1

System info and storybook versions

System: OS: macOS 11.7.2 CPU: (4) x64 Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz Binaries: Node: 16.16.0 - /usr/local/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 9.1.3 - /usr/local/bin/npm Browsers: Chrome: 109.0.5414.119 Firefox: 109.0.1 Safari: 16.3 npmPackages: @storybook/addon-essentials: ^7.0.0-beta.43 => 7.0.0-beta.43 @storybook/addon-interactions: 7.0.0-beta.43 => 7.0.0-beta.43 @storybook/addon-links: ^7.0.0-beta.43 => 7.0.0-beta.43 @storybook/blocks: ^7.0.0-beta.43 => 7.0.0-beta.43 @storybook/testing-library: ^0.0.13 => 0.0.13 @storybook/vue3: ^7.0.0-beta.43 => 7.0.0-beta.43 @storybook/vue3-vite: ^7.0.0-beta.43 => 7.0.0-beta.43

Describe the Bug

After updating from beta-30 to beta-43 by yarn upgrade-interactive storybook@latest and then replacing all beta-30s to beta-43 in package.json and running yarn install,

Storybook ran into a problem when i ran yarn storybook , it showed error loading dynamically imported module on screen and an error about node_modules/.cache/.vite-storybook/deps_temp couldn't be renamed to deps because folder didn't exist on the console. After creating the folder problem got solved but i thought this might be something you would like to know about.

Link to Minimal Reproducible Example

No response

Participation

IanVS commented 1 year ago

Thanks, but unfortunately this is a bug in Vite itself. You can subscribe to https://github.com/vitejs/vite/issues/9986 for any updates.