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

字节跳动小程序显示当前目录找不到小程序工程文件 #8149

Closed
fightingSunnyGirl opened this issue Nov 28, 2020 · 2 comments
Closed
Labels
F-react Framework - React T-tt Target - 编译到字节跳动小程序 V-3 Version - 3.x

Comments

@fightingSunnyGirl
Copy link

相关平台

字节跳动小程序

**小程序基础库: 版本 3.0.1 **
使用框架: React

复现步骤

yarn dev:tt编译成功后用字节跳动小程序访问dist目录显示当前目录找不到小程序工程文件

期望结果

正常运行

实际结果

报当前目录找不到小程序工程文件,项目无法运行

环境信息

 Taro CLI 3.0.17 environment info:
    System:
      OS: macOS 10.14
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.16.2 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 6.14.4 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.0.17 => 3.0.17 
      @tarojs/mini-runner: 3.0.17 => 3.0.17 
      @tarojs/react: 3.0.17 => 3.0.17 
      @tarojs/runtime: 3.0.17 => 3.0.17 
      @tarojs/taro: 3.0.17 => 3.0.17 
      @tarojs/webpack-runner: 3.0.17 => 3.0.17 
      babel-preset-taro: 3.0.17 => 3.0.17 
      eslint-config-taro: 3.0.17 => 3.0.17 
      react: ^16.10.0 => 16.14.0 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-tt Target - 编译到字节跳动小程序 V-3 Version - 3.x labels Nov 28, 2020
@Jon-Millent
Copy link

cp: 源码目录下 新建一个 project.tt.json的文件,内容和project.config.json一样即可。编译的时候taro会把它 打成project.config.json

@hooper-hc
Copy link

给力, 但是不能整的自动化一些么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-tt Target - 编译到字节跳动小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants