ERROR in D:/project/ftry/node_modules/react-native-gesture-handler/touchables/TouchableHighlight.js 10:22
Module parse failed: Unexpected token (10:22)
You may need an appropriate loader to handle this file type.
| */
| export default class TouchableHighlight extends Component {
> static defaultProps = {
| ...GenericTouchable.defaultProps,
| activeOpacity: 0.85,
@ D:/project/ftry/node_modules/react-native-gesture-handler/touchables/index.js 6:0-69 6:0-69
@ D:/project/ftry/node_modules/react-native-gesture-handler/index.js
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/react-native-gesture-handler/touchables/TouchableOpacity.js 10:22
Module parse failed: Unexpected token (10:22)
You may need an appropriate loader to handle this file type.
| */
| export default class TouchableOpacity extends Component {
> static defaultProps = {
| ...GenericTouchable.defaultProps,
| activeOpacity: 0.2,
@ D:/project/ftry/node_modules/react-native-gesture-handler/touchables/index.js 5:0-65 5:0-65
@ D:/project/ftry/node_modules/react-native-gesture-handler/index.js
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-linear-gradient/build/LinearGradient.js 12:16
Module parse failed: Unexpected token (12:16)
You may need an appropriate loader to handle this file type.
| locations = locations.slice(0, colors.length);
| }
> return (<NativeLinearGradient {...props} colors={colors.map(processColor)} locations={locations} startPoint={_normalizePoint(start)} endPoint={_normalizePoint(end)}/>);
| }
| }
@ D:/project/ftry/node_modules/expo-linear-gradient/build/index.js 1:0-61 1:0-61
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-payments-stripe/src/Stripe.js 12:20
Module parse failed: Unexpected token (12:20)
You may need an appropriate loader to handle this file type.
|
| class Stripe {
> stripeInitialized = false;
|
| setOptionsAsync = (options = {}) => {
@ D:/project/ftry/node_modules/expo-payments-stripe/index.js 3:11-34
@ D:/project/ftry/node_modules/expo/build/DangerZone.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-gl/build/GLView.web.js 157:16
Module parse failed: Unexpected token (157:16)
You may need an appropriate loader to handle this file type.
| const domProps = stripNonDOMProps(props);
| const containerStyle = StyleSheet.flatten([{ flex: 1 }, style]);
> return (<div ref={this._assignContainerRef} style={containerStyle}>
| <canvas ref={this._assignCanvasRef} style={{ flex: 1, width, height }} width={width * devicePixelRatio} height={height * devicePixelRatio} {...domProps}/>
| </div>);
@ D:/project/ftry/node_modules/expo-gl/build/index.js 1:0-25 1:0-25
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-av/build/Video.js 165:8
Module parse failed: Unexpected token (165:8)
You may need an appropriate loader to handle this file type.
| this._renderPoster = () => this.props.usePoster && this.state.showPoster ? (
| // @ts-ignore: the react-native type declarations are overly restrictive
> <Image style={[_STYLES.poster, this.props.posterStyle]} source={this.props.posterSource}/>) : null;
| this.state = {
| showPoster: !!props.usePoster,
@ D:/project/ftry/node_modules/expo-av/build/index.js 3:0-43 3:0-43
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-camera/build/Camera.js 171:16
Module parse failed: Unexpected token (171:16)
You may need an appropriate loader to handle this file type.
| const onBarCodeScanned = this._onObjectDetected(this.props.onBarCodeScanned);
| const onFacesDetected = this._onObjectDetected(this.props.onFacesDetected);
> return (<ExponentCamera {...nativeProps} ref={this._setReference} onCameraReady={this._onCameraReady} onMountError={this._onMountError} onBarCodeScanned={onBarCodeScanned} onFacesDetected={onFacesDetected} onPictureSaved={_onPictureSaved}/>);
| }
| }
@ D:/project/ftry/node_modules/expo-camera/build/index.js 1:0-45 1:0-45 2:0-37 2:0-37
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/react-native-gesture-handler/DrawerLayout.js 30:7
Module parse failed: Unexpected token (30:7)
You may need an appropriate loader to handle this file type.
| const SETTLING = 'Settling';
|
> export type PropType = {
| children: any,
| drawerBackgroundColor?: string,
@ D:/project/ftry/node_modules/react-native-gesture-handler/index.js 2:0-57 2:0-57
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/react-native-gesture-handler/GestureHandler.js 353:21
Module parse failed: Unexpected token (353:21)
You may need an appropriate loader to handle this file type.
| function createNativeWrapper(Component, config = {}) {
| class ComponentWrapper extends React.Component {
> static propTypes = {
| ...Component.propTypes,
| };
@ D:/project/ftry/node_modules/react-native-gesture-handler/index.js 3:0-33 3:0-33
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/@expo/vector-icons/build/createIconSet.js 36:27
Module parse failed: Unexpected token (36:27)
You may need an appropriate loader to handle this file type.
| render() {
| if (!this.state.fontIsLoaded) {
> return <Text />;
| }
| return (<RNVIconComponent ref={view => {
@ D:/project/ftry/node_modules/@expo/vector-icons/build/Icons.js 15:0-59 15:0-59
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set.js 37:21
Module parse failed: Unexpected token (37:21)
You may need an appropriate loader to handle this file type.
|
| class Icon extends PureComponent {
> static propTypes = {
| allowFontScaling: PropTypes.bool,
| name: IconNamePropType,
@ D:/project/ftry/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon.js 1:0-46 18:9-22
@ D:/project/ftry/node_modules/@expo/vector-icons/build/createIconSetFromIcoMoon.js
@ D:/project/ftry/node_modules/@expo/vector-icons/build/Icons.js
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/react-native-gesture-handler/touchables/TouchableWithoutFeedback.js 4:42
Module parse failed: Unexpected token (4:42)
You may need an appropriate loader to handle this file type.
| import React from 'react';
|
> const TouchableWithoutFeedback = props => <GenericTouchable {...props} />;
|
| TouchableWithoutFeedback.defaultProps = GenericTouchable.defaultProps;
@ D:/project/ftry/node_modules/react-native-gesture-handler/touchables/index.js 2:0-4:36 2:0-4:36
@ D:/project/ftry/node_modules/react-native-gesture-handler/index.js
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo/build/launch/AppLoading.js 52:15
Module parse failed: Unexpected token (52:15)
You may need an appropriate loader to handle this file type.
| }
| render() {
> return <NativeAppLoading {...this.props}/>;
| }
| }
@ D:/project/ftry/node_modules/expo/build/Expo.js 19:0-60 19:0-60
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-barcode-scanner/build/BarCodeScanner.js 53:16
Module parse failed: Unexpected token (53:16)
You may need an appropriate loader to handle this file type.
| const nativeProps = this.convertNativeProps(this.props);
| const { onBarCodeScanned } = this.props;
> return (<ExpoBarCodeScannerView {...nativeProps} onBarCodeScanned={this.onObjectDetected(onBarCodeScanned)}/>);
| }
| convertNativeProps(props) {
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js 49:0-54 49:0-54
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-ads-admob/build/AdMobBanner.web.js 5:16
Module parse failed: Unexpected token (5:16)
You may need an appropriate loader to handle this file type.
| export default class AdMobBanner extends React.Component {
| render() {
> return (<View>
| <Text>AdMobBanner component not supported on the web</Text>
| </View>);
@ D:/project/ftry/node_modules/expo-ads-admob/build/index.js 1:0-55 1:0-55
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-ads-admob/build/AdMobInterstitial.web.js 5:16
Module parse failed: Unexpected token (5:16)
You may need an appropriate loader to handle this file type.
| export default class AdMobInterstitial extends React.Component {
| render() {
> return (<View>
| <Text>AdMobInterstitial component not supported on the web</Text>
| </View>);
@ D:/project/ftry/node_modules/expo-ads-admob/build/index.js 2:0-67 2:0-67
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-ads-admob/build/AdMobRewarded.web.js 5:16
Module parse failed: Unexpected token (5:16)
You may need an appropriate loader to handle this file type.
| export default class AdMobRewarded extends React.Component {
| render() {
> return (<View>
| <Text>AdMobRewarded component not supported on the web</Text>
| </View>);
@ D:/project/ftry/node_modules/expo-ads-admob/build/index.js 3:0-59 3:0-59
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-ads-admob/build/PublisherBanner.web.js 5:16
Module parse failed: Unexpected token (5:16)
You may need an appropriate loader to handle this file type.
| export default class PublisherBanner extends React.Component {
| render() {
> return (<View>
| <Text>PublisherBanner component not supported on the web</Text>
| </View>);
@ D:/project/ftry/node_modules/expo-ads-admob/build/index.js 4:0-63 4:0-63
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo/build/launch/registerRootComponent.web.js 7:40
Module parse failed: Unexpected token (7:40)
You may need an appropriate loader to handle this file type.
| const App = withExpoRoot(component);
| // @ts-ignore: TypeScript says ComponentClass<P> does not satisfy ComponentClass<any>
> const RootComponent = (...props) => <App exp={{}} {...props}/>;
| AppRegistry.registerComponent('main', () => RootComponent);
| const rootTag = document.getElementById('root') || document.getElementById('main');
@ D:/project/ftry/node_modules/expo/build/Expo.js 25:0-82 25:0-82
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo/build/Maps/MapView.web.js 8:15
Module parse failed: Unexpected token (8:15)
You may need an appropriate loader to handle this file type.
| render() {
| const { onMapMount, ...props } = this.props;
> return <GoogleMap {...props} ref={onMapMount}/>;
| }
| }
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js 79:0-52 79:0-52
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
ERROR in D:/project/ftry/node_modules/expo-blur/build/BlurView.web.js 9:15
Module parse failed: Unexpected token (9:15)
You may need an appropriate loader to handle this file type.
| let { tint, intensity, style = {}, ...props } = this.props;
| const blurStyle = getBlurStyle({ tint, intensity });
> return <View {...props} style={[style, blurStyle]}/>;
| }
| }
@ D:/project/ftry/node_modules/expo-blur/build/index.js 1:0-34 2:0-20
@ D:/project/ftry/node_modules/expo/build/deprecated.web.js
@ D:/project/ftry/node_modules/expo/build/Expo.js
@ D:/project/ftry/node_modules/expo/AppEntry.js
@ multi C:/Users/san_z/AppData/Local/Yarn/Data/global/node_modules/react-dev-utils/webpackHotDevClient.js D:/project/ftry/node_modules/expo/AppEntry.js
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.