Reactjs React本机web不会使用线性渐变进行编译

Reactjs React本机web不会使用线性渐变进行编译,reactjs,react-native,react-redux,Reactjs,React Native,React Redux,使用react native web linear gradient,由于此错误,我无法运行npm build web来构建最终产品。我有最新版本的线性梯度和反应 ./node_modules/react-native-linear-gradient/index.android.js import { processColor, StyleSheet, View } from 'react-native'; import NativeLinearGradient, { type Props }

使用react native web linear gradient,由于此错误,我无法运行npm build web来构建最终产品。我有最新版本的线性梯度和反应

./node_modules/react-native-linear-gradient/index.android.js

import { processColor, StyleSheet, View } from 'react-native';
import NativeLinearGradient, { type Props } from './common';
const convertPoint = (name, point) => {

这个错误是什么?哦,对不起,这还不清楚,半夜写下这篇文章。错误出现在index.android.js中,{type props}只是在文件中加了下划线。终端机说在类型道具中应该有一个逗号?这个包裹好像坏了。这是GITHUB问题的一个链接。什么是错误?哦,对不起,这还不清楚。错误出现在index.android.js中,{type props}只是在文件中加了下划线。终端机说在类型道具中应该有一个逗号?这个包裹好像坏了。这里是GitHub上问题的链接。