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

react native 下 border-color 不支持 rgba,编译报错 #11792

Closed
shinken008 opened this issue May 10, 2022 · 0 comments · Fixed by #11916
Closed

react native 下 border-color 不支持 rgba,编译报错 #11792

shinken008 opened this issue May 10, 2022 · 0 comments · Fixed by #11916
Assignees
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x

Comments

@shinken008
Copy link
Collaborator

相关平台

React Native

复现仓库

https://github.com/shinken008/apache-license-preamble

使用框架: React

复现步骤

  1. css

border-color: rgba(1, 1, 1, 0.4);
2. build error

Unexpected token type: function Failed to parse declaration "borderColor: rgba(255, 77, 19, 0.3)"

期望结果

正常编译,功能正常

实际结果

编译报错

环境信息

Taro CLI 1.3.29 environment info:
    System:
      OS: macOS 11.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
      Yarn: 1.22.17 - ~/.nvm/versions/node/v14.17.6/bin/yarn
      npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
    npmPackages:
      @tarojs/cli: ^3.4.3 => 3.4.3 
      @tarojs/components: ^3.4.3 => 3.4.3 
      @tarojs/mini-runner: ^3.4.3 => 3.4.3 
      @tarojs/rn-runner: ^3.4.3 => 3.4.3 
      @tarojs/taro: ^3.4.3 => 3.4.3 
      @tarojs/taro-rn: ^3.4.3 => 3.4.3 
      @tarojs/webpack-runner: ^3.4.3 => 3.4.3 
      eslint-config-taro: ^3.4.3 => 3.4.3 
      react: ^17.0.0 => 17.0.2 
      react-native: ^0.67.3 => 0.67.3 
    npmGlobalPackages:
      typescript: 4.5.5
@shinken008 shinken008 added the T-rn Target - 编译到 React Native label May 10, 2022
@taro-bot2 taro-bot2 bot added F-react Framework - React V-3 Version - 3.x labels May 10, 2022
@shinken008 shinken008 self-assigned this Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant