中国优质的IT技术网站
专业IT技术创作平台
IT职业在线教育平台
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
微信扫码分享