Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JinHaocong opened this issue May 9, 2024 · 0 comments
Open

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

JinHaocong opened this issue May 9, 2024 · 0 comments
Labels
F-vue2 Framework - Vue 2 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@JinHaocong
Copy link

相关平台

微信小程序

小程序基础库: 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 项目根目录!

@taro-bot2 taro-bot2 bot added F-vue2 Framework - Vue 2 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Status: Todo
Development

No branches or pull requests

1 participant