NervJS/taro

不应存在无使用的组件:custom-wrapper.json

JinHaocong opened this issue · 0 comments

相关平台

微信小程序

小程序基础库: 3.2.5
使用框架: Vue 2

复现步骤

微信开发者工具代码质量报错 不应存在无使用的组件 custom-wrapper.json

期望结果

代码质量不报错

实际结果

不应存在无使用的组件:custom-wrapper.json

环境信息

👽 Taro v3.3.3


  Taro CLI 3.3.3 environment info:
    System:
      OS: macOS 14.2
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.18.0 - ~/.nvm/versions/node/v16.18.0/bin/node
      npm: 8.19.2 - ~/.nvm/versions/node/v16.18.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.3.3 => 3.3.3
      @tarojs/components:3.3.3 =>3.3.3 
      @tarojs/helper: 3.6.20 => 3.3.3
      @tarojs/mini-runner: 3.6.20 => 3.6.20 
      @tarojs/plugin-framework-vue3: 3.6.20 => 3.6.20 
      @tarojs/plugin-html: 3.6.20 => 3.6.20 
      @tarojs/plugin-platform-alipay: 3.6.20 => 3.6.20 
      @tarojs/plugin-platform-h5: 3.6.20 => 3.6.20 

补充信息

环境信息是复制别人的 我的一执行taro info会报错 。。。
PS G:\Beautiful\yeb-member-weapp-taro> taro info
👽 Taro v3.3.3

Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
TypeError: Cannot read properties of undefined (reading 'toUpperCase')
at Object. (G:\Beautiful\yeb-member-weapp-taro\appx.config.js:17:34)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Module._compile (G:\Beautiful\yeb-member-weapp-taro\node_modules\pirates\lib\index.js:136:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Object.newLoader [as .js] (G:\Beautiful\yeb-member-weapp-taro\node_modules\pirates\lib\index.js:141:7)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (G:\Beautiful\yeb-member-weapp-taro\server\command.js:54:20)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!