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

在vite创建v3项目中使用插件时报错 #400

Closed
lcwsuper123 opened this issue Feb 12, 2022 · 0 comments
Closed

在vite创建v3项目中使用插件时报错 #400

lcwsuper123 opened this issue Feb 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lcwsuper123
Copy link

lcwsuper123 commented Feb 12, 2022

问题描述

在vite创建v3项目中使用插件时报错
上午11:36:10 [vite] [plugin:vite:import-analysis] Cannot find module '@dcloudio/uni-components/style/audio.css'
Require stack:

  • F:\APP\shop-vite\node_modules@dcloudio\uni-cli-shared\dist\resolve.js
  • F:\APP\shop-vite\node_modules@dcloudio\uni-cli-shared\dist\json\mp\jsonFile.js
  • F:\APP\shop-vite\node_modules@dcloudio\uni-cli-shared\dist\mp\usingComponents.js
  • F:\APP\shop-vite\node_modules@dcloudio\uni-cli-shared\dist\mp\index.js
  • F:\APP\shop-vite\node_modules@dcloudio\uni-cli-shared\dist\index.js
  • F:\APP\shop-vite\node_modules@dcloudio\vite-plugin-uni\dist\cli\utils.js
  • F:\APP\shop-vite\node_modules@dcloudio\vite-plugin-uni\dist\cli\index.js
  • F:\APP\shop-vite\node_modules@dcloudio\vite-plugin-uni\bin\uni.js
    at uni_modules/mp-html/components/mp-html/node/node.vue:1:0
jin-yufeng added a commit that referenced this issue Feb 25, 2022
@jin-yufeng jin-yufeng added the bug Something isn't working label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants