Failed to compile
./node_modules/react-native-web-webview/src/index.js
Module parse failed: Unexpected token (6:22)
You may need an appropriate loader to handle this file type.
|
| export default class extends Component {
| static defaultProps = {
| scrollEnabled: true,
| };
This error occurred during the build time and cannot be dismissed.
create-react-app 创建项目后, 安装react-web运行后出现错误提示:
Failed to compile ./node_modules/react-native-web-webview/src/index.js Module parse failed: Unexpected token (6:22) You may need an appropriate loader to handle this file type. | | export default class extends Component { | static defaultProps = { | scrollEnabled: true, | }; This error occurred during the build time and cannot be dismissed.
这个项目应该还没有被抛弃吧?