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

Error in import less file in view-design, another mistake with the same usage as #1737 #1834

Closed
liyan1105 opened this issue Feb 1, 2021 · 0 comments

Comments

@liyan1105
Copy link

Describe the bug

$ vite build
building for production...
[vite:css] ENOENT: no such file or directory, open 'C:\project\vite-less-import-bug\src\node_modules\view-design\src\styles\common\ico
nfont\fonts\ionicons.woff2'
file: C:/project/vite-less-import-bug/src/components/HelloWorld.vue?vue&type=style&index=0&scoped=true&lang.less
error during build:
Error: ENOENT: no such file or directory, open 'C:\project\vite-less-import-bug\src\node_modules\view-design\src\styles\common\iconfon
t\fonts\ionicons.woff2'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproduction

https://github.com/liyan1105/vite-less-import-bug.git

System Info

  • vite version: beta.60
  • Operating System: windows 10
  • Node version: 14.15.3
  • Package manager (npm/yarn/pnpm) and version: yarn 1.19.1
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant