You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
用taro项目打成npm包,在另外一个完整的taro项目中,使用npm安装,并且通过copy功能拷贝到dist目录。
然后配置微信小程序独立分包,本地用dev模式启动报错如下:
Conflict: Multiple assets emit different content to the same filename base.wxml
期望结果
不要报错
实际结果
✖ Errors:
Error: Conflict: Multiple assets emit different content to the same filename base.wxml
at runMicrotasks ()
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]".] {
code: 'ERR_UNHANDLED_REJECTION'
}
error Command failed with exit code 1.
相关平台
微信小程序
小程序基础库: 2.26.0
使用框架: React
复现步骤
用taro项目打成npm包,在另外一个完整的taro项目中,使用npm安装,并且通过copy功能拷贝到dist目录。
然后配置微信小程序独立分包,本地用dev模式启动报错如下:
Conflict: Multiple assets emit different content to the same filename base.wxml
期望结果
不要报错
实际结果
✖ Errors:
Error: Conflict: Multiple assets emit different content to the same filename base.wxml
at runMicrotasks ()
→ Watching... [10/25/2023, 4:41:45 PM]
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]".] {
code: 'ERR_UNHANDLED_REJECTION'
}
error Command failed with exit code 1.
环境信息
The text was updated successfully, but these errors were encountered: