hvigor ERROR: Error, Cannot find module '@ohos/hvigor-ohos-plugin/src/utils/log/log-adaptor'

DevEco Studio 5.0.2 Release 打开老项目(基于 DevEco Studio 5.0.1 Release 创建),编辑报这个错:

D:\dev\harmonyos\deveco\devecostudio-windows-5.0.7.210\tools\node\node.exe D:\dev\harmonyos\deveco\devecostudio-windows-5.0.7.210\tools\hvigor\bin\hvigorw.js clean --mode module -p product=default assembleHap --analyze=normal --parallel --incremental --daemon
> hvigor hvigor client: Starting hvigor daemon.
> hvigor Hvigor Daemon started in 1.87 s
> hvigor ERROR: Error, Cannot find module '@ohos/hvigor-ohos-plugin/src/utils/log/log-adaptor'
Require stack:
- C:\Users\wayla\.hvigor\project_caches\025693b40416664b468899595dea8b93\workspace\node_modules\.pnpm\file+D++workspace+gitee+develop-native-harmonyos-a_iz5k7vaemjwnkkiyompgabo25m\node_modules\cangjie-build-support\src\task\cangjie-pre-build.js
- C:\Users\wayla\.hvigor\project_caches\025693b40416664b468899595dea8b93\workspace\node_modules\.pnpm\file+D++workspace+gitee+develop-native-harmonyos-a_iz5k7vaemjwnkkiyompgabo25m\node_modules\cangjie-build-support\src\task\cangjie-task-initializer.js
- C:\Users\wayla\.hvigor\project_caches\025693b40416664b468899595dea8b93\workspace\node_modules\.pnpm\file+D++workspace+gitee+develop-native-harmonyos-a_iz5k7vaemjwnkkiyompgabo25m\node_modules\cangjie-build-support\src\plugin\base-cangjie-plugin.js
- C:\Users\wayla\.hvigor\project_caches\025693b40416664b468899595dea8b93\workspace\node_modules\.pnpm\file+D++workspace+gitee+develop-native-harmonyos-a_iz5k7vaemjwnkkiyompgabo25m\node_modules\cangjie-build-support\src\plugin\cangjie-hap-plugin.js
- C:\Users\wayla\.hvigor\project_caches\025693b40416664b468899595dea8b93\workspace\node_modules\.pnpm\file+D++workspace+gitee+develop-native-harmonyos-a_iz5k7vaemjwnkkiyompgabo25m\node_modules\cangjie-build-support\src\plugin\cangjie-plugin-factory.js
- C:\Users\wayla\.hvigor\project_caches\025693b40416664b468899595dea8b93\workspace\node_modules\.pnpm\file+D++workspace+gitee+develop-native-harmonyos-a_iz5k7vaemjwnkkiyompgabo25m\node_modules\cangjie-build-support\index.js
- D:\workspace\gitee\develop-native-harmonyos-ai-assistant-with-cangjie-video\samples\ch11\CangjieAiAssistant\hvigorfile.ts
- D:\dev\harmonyos\deveco\devecostudio-windows-5.0.7.210\tools\hvigor\hvigor\src\base\internal\lifecycle\configuration.js
- D:\dev\harmonyos\deveco\devecostudio-windows-5.0.7.210\tools\hvigor\hvigor\src\base\boot\index.js
- D:\dev\harmonyos\deveco\devecostudio-windows-5.0.7.210\tools\hvigor\hvigor\src\base\daemon\cluster\worker-process-lifecycle.js
- D:\dev\harmonyos\deveco\devecostudio-windows-5.0.7.210\tools\hvigor\hvigor\src\base\daemon\process\daemon-process-boot-script.js in hvigorfile: D:\workspace\gitee\develop-native-harmonyos-ai-assistant-with-cangjie-video\samples\ch11\CangjieAiAssistant\hvigorfile.ts
> hvigor ERROR: BUILD FAILED in 1 s 640 ms 

Process finished with exit code -1
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
鸿蒙
HarmonyOS
5天前
浏览
收藏 0
回答 0
待解决


相关问题
module场景Hvigor自定义扩展咨询
1312浏览 • 1回复 待解决
Ohos Library module 如何运行测试 ?
2963浏览 • 1回复 待解决
HarmonyOS Cannot find name 'ESObject'
775浏览 • 0回复 待解决