Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no such file or directory, scandir dist #52

Open
jianchengwang opened this issue Dec 8, 2023 · 0 comments
Open

no such file or directory, scandir dist #52

jianchengwang opened this issue Dec 8, 2023 · 0 comments

Comments

@jianchengwang
Copy link

vite5 vue3 import vite-plugin-cesium": "^1.2.22,and vite.config.ts add code

import cesium from "vite-plugin-cesium";
const plugins = []
plugins.add(cesium ())

and vite is ok, but vite build throw error,

[Error: ENOENT: no such file or directory, scandir 'dist'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'scandir',
  path: 'dist'
}

it had transformed done, but write dist throw error, but not import vite-plugin-cesium and dist will auto generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant