taro-project-templates icon indicating copy to clipboard operation
taro-project-templates copied to clipboard

taro plugin 跑不起来

Open hitao123 opened this issue 2 years ago • 1 comments

taro build --plugin weapp
👽 Taro v3.5.6

开始编译微信小程序插件
Tips:
1. 建议开启持久化缓存功能,能有效提升二次编译速度,详情请参考: https://docs.taro.zone/docs/config-detail#cache。


(node:14664) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'import' of undefined
    at getEntryPath   XX/node_modules/@tarojs/webpack5-runner/src/plugins/MiniSplitChunksPlugin.ts:579:36)

hitao123 avatar Oct 25 '22 09:10 hitao123

https://docs.taro.zone/docs/miniprogram-plugin 按照官网的操作,拉模板,无法构建插件

hitao123 avatar Oct 25 '22 09:10 hitao123