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

打包完后没有任何报错但是微信开发工具页面空白,生成的dist文件里面含有work~recruit等带有~符号的文件 #15937

Closed
Doomtinger opened this issue Jun 19, 2024 · 1 comment

Comments

@Doomtinger
Copy link

Doomtinger commented Jun 19, 2024

相关平台

微信小程序

小程序基础库: 3.6.22
使用框架: React

复现步骤

npm run dev:weapp
企业微信截图_17187857403175

企业微信截图_17187854822632

企业微信截图_17187854531092

期望结果

打包完之后微信开发工具可以正常显示页面

实际结果

打包完之后微信开发工具显示空白

环境信息

 Taro CLI 3.6.22 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 14.19.0 - D:\soft\nvm\nodejs\node.EXE       
      Yarn: 1.22.22 - D:\soft\nvm\nodejs\yarn.CMD       
      npm: 6.14.16 - D:\soft\nvm\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: ^3.6.22 => 3.6.32 
      @tarojs/components: ^3.6.22 => 3.6.32 
      @tarojs/mini-runner: 3.6.22 => 3.6.22 
      @tarojs/plugin-framework-react: ^3.6.22 => 3.6.32 
      @tarojs/react: 3.6.22 => 3.6.22 
      @tarojs/runtime: 3.6.22 => 3.6.22 
      @tarojs/taro: ^3.6.22 => 3.6.32
      @tarojs/webpack-runner: 3.6.22 => 3.6.22
      babel-preset-taro: 3.6.22 => 3.6.22
      eslint-config-taro: 3.6.22 => 3.6.22
      react: ^16.14.0 => 16.14.0
      taro-ui: ^3.0.0-alpha.3 => 3.3.0
@Doomtinger
Copy link
Author

使用common作为分包导致打包错误

This was referenced Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant