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

丢失环境变量 #8898

Closed
yaobiao131 opened this issue Mar 15, 2021 · 2 comments
Closed

丢失环境变量 #8898

yaobiao131 opened this issue Mar 15, 2021 · 2 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@yaobiao131
Copy link

相关平台

微信小程序

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

复现步骤

无法获取TARO_ENV环境变量

期望结果

有TARO_ENV环境变量

实际结果

环境信息

Taro CLI 3.1.3 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 15.11.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 7.6.0 - C:\Program Files\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Mar 15, 2021
@raymond-cat
Copy link

3.1.3,一样得问题

@Chen-jj
Copy link
Contributor

Chen-jj commented Mar 15, 2021

Duplicate of #8900

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

No branches or pull requests

3 participants