Page 1 of 1

面板小程序下载 @ray-js/components-ty 后编译异常

Posted: 2024年 Oct 10日 10:08
by 15116138815

面板小程序下载 @ray-js/components-ty 后编译异常
node 16 18版本 npm/yarn都试过了 无法正常编译
当前版本 Tuya MiniApp Tools: 0.7.1
node: 18.19.0
ERRORNo matching export in "node modules/@ray-js/api/lib/index.js"for import"offGroupInfochange
nodemodules/@ray-js/panel-sdk/lib/sdm/$martGroupModel.j3:2: 129:.rkType,bluetoothIsPowerOn.2offGroupDoDataChangeEvent,offGrouoffNetworkStatuschange,offBluetoothpdapterStatechang...
ERRORNo matchinc"onGroupInfoChange1ruoortnodeis:2:231onBluetoothAdapterStateChange.fBluetooTA11onNetworkStatusChange,.”.
ERRORNo matchingdray-is/api/lib/index.is"forjrroort"getDevAlarmListnode modules/@ray-is/panel-sdk/lib/sm/abilities/alar/index.js:4:9:importgetLaunchOptionsSync,setAlarmSwitch }from@ray-js/api';
ERRORNo matching exort"node modules/@ray-is/api/lib/index.js"for import "setAlarmSwitch"node modules/@ray-js/panel-sdk/lib/sdm/abilities/alarm/index.js : 4: 63 :witch } from "@ray-js/api';import {getDevAlamist,getDeviceInfo,getLaunchOptionsSync,
ERRORNo matchingexport in"node modules/@ray-is/api/lib/index.is" for"getDevPropertyimoortnode modules/@raystorage/cloud.j3:2:921moort"@ray-jз/api"
[09:50:20:683]ERR !build [analyse-pages][09:50:20:6831inforebuild analyse pages build finished0+483ms[09:50:20:6861ERR!watchrebuild error:Build failed with 6 errors[09:50:20:686]node modules/@ray-js/panel-sdk/1ib/sdn/SmartGroupModel.js:2:129: ERRoR: No matching export in "node modules/@ray-js/apERR!watch/1ib/index.js"for import"offGrouoInfochandenode modules/@ray-js/panel-sdk/lib/sdm/SmartGroupModel.js:2:231: ERROR: No matchingnode modules/@ray-js/api[09:50:20:686]BRR/lib/index.js"for import "onGroupInfochang[09:50:20:686]"node modules/@ray-jsERRnode modules/@ray-is/panel-sdk/lib/sd/abilities/alarm/index.is:4:9:ERROR:NC/api/lib/index.js" for import "getDevAlarmist"watch node modules/@ray-js/panel-sdk/lib/sdm/abilities/alamexport in "node modules/@ray[09:50:20:686]ERR!.j3:4:63:ERROR: NOmatchings/api/lib/index,is" for import "setAlarmSwitch"node modules/@ray[09:50:20:686] ERR!node modules/@rayjs/panel-sdk/lib/sdm/abilitiescloud.1s:2:9:FRRORPHoo1t11js/api/lib/index.js" for import "getDevProperty"


Re: 面板小程序下载 @ray-js/components-ty 后编译异常

Posted: 2024年 Oct 10日 16:49
by tdeveloper

麻烦上传下 yarn.lock 和复现代码


Re: 面板小程序下载 @ray-js/components-ty 后编译异常

Posted: 2024年 Oct 18日 14:36
by tdeveloper

你好,该问题已超过七天未更新,为整体保障问题跟进效率,我们临时将此标记为已关闭,如有需要请回复并联系我们继续跟进