升级到最新HBuilderX后,报Cannot find module 'pinia\dist\pinia.mjs' #1245
Unanswered
Leadrive
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproduction
none
Steps to reproduce the bug
HB 版本 3.4.6.20220420
"pinia": "^2.0.13"
Expected behavior
编译正常
Actual behavior
09:39:03.418 正在编译中...
09:39:05.555 vite v2.9.5 building for development...
09:39:05.587 [plugin:uni:mp-main-js] Cannot find module 'pinia\dist\pinia.mjs'
09:39:05.587 Require stack:
09:39:05.591 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\uni-cli-shared\dist\resolve.js
09:39:05.592 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\uni-cli-shared\dist\json\mp\jsonFile.js
09:39:05.595 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\uni-cli-shared\dist\mp\usingComponents.js
09:39:05.596 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\uni-cli-shared\dist\mp\index.js
09:39:05.600 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\uni-cli-shared\dist\index.js
09:39:05.600 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\vite-plugin-uni\dist\cli\utils.js
09:39:05.604 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\vite-plugin-uni\dist\cli\index.js
09:39:05.604 - C:\Program Files\HBuilderX\plugins\uniapp-cli-vite\node_modules@dcloudio\vite-plugin-uni\bin\uni.js
09:39:05.608 at main.js:1:0
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions