收藏
回答

如何在离线状态下,在微信开发者工具中演示小程序?

我需要在离线状态下演示微信小程序(在开发者工具)中,服务端是我localhost的Springboot程序,但是我发现只要一关网,小程序就不能正常使用。(一点重新编译就报错,不点重新编译,在调用后端api的时候也无响应)

回答关注问题邀请回答
收藏

1 个回答

  • 诗酒趁年华
    诗酒趁年华
    2天前

    小程序使用了第三方组件WuxWeapp,断网后再微信开发者工具中点击重新编译后报错:Component is not found in path "miniprogram_npm/wux-weapp/button/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/card/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/wing-blank/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/white-space/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/icon/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/tabs/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/tab/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/badge/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/rater/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/cell-group/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/cell/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/calendar/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/toast/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/textarea/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/segmented-control/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/grid/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/grids/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/divider/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/tag/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/notice-bar/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/timeline/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/timeline-item/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/steps/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/step/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/switch/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/progress/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/circle/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/spin/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "miniprogram_npm/wux-weapp/result/index" (using by "custom-tab-bar/index").(env: Windows,mp,1.06.2412050; lib: 3.8.2)

    Component is not found in path "wx://not-found".(env: Windows,mp,1.06.2412050; lib: 3.8.2)


    即使不点即重新编译,在小程序中点击一个需要向后端发送请求的功能,虽然后端日志显示确实有请求发送,但是小程序端无响应。求大家帮俺看看

    2天前
    有用
    回复
登录 后发表内容