引用第三方微信小程序sdk,提示ModuleNotFoundError



  • 引用微信小程序sdk,会提示报错,是这种微信的路径不支持吗?

    ./src/polyv-sdk/components/chat-edit/chat-edit.wxml
    Module build failed (from ./node_modules/@tarojs/mini-runner/dist/loaders/miniTemplateLoader.js):
    ModuleNotFoundError: Module not found: Error: Can't resolve '../../assets/images/'+{{skin}}+'/'+ {{showMore ? 'chatroom-icon-keyboard.png' : 'chatroom-icon-more.png'}}' in 'C:\polyv\polyvProject\test\taro\myApp\src\polyv-sdk\components\chat-edit'
    

    下面是警告的

    ./src/polyv-sdk/components/answer-card/answer-card.js 57:110-120
    "export 'default' (imported as 'AnswerCard') was not found in '../../common/answerCard/index'
    

    85b3f688-3c9f-4684-912b-efc6fb5f2b21-image.png


登录后回复