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

Module parse failed input.component.js 104:38 #1054

Closed
marvinrabe opened this issue Apr 25, 2020 · 1 comment
Closed

Module parse failed input.component.js 104:38 #1054

marvinrabe opened this issue Apr 25, 2020 · 1 comment
Labels
Duplicate 🌐 Web react-native-web specific

Comments

@marvinrabe
Copy link

🐛 Bug Report

Running v5.0.0-alpha.1 with react native web. The application build fails:

/node_modules/@ui-kitten/components/ui/input/input.component.js 104:38
Module parse failed: Unexpected token (104:38)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|         this.webEventResponder = devsupport_1.WebEventResponder.create(this);
|         this.focus = () => {
>             this.textInputRef.current?.focus();
|         };
|         this.blur = () => {

It looks like optional chaining is not supported.

To Reproduce

Steps to reproduce the behavior: Probably nothing special. Run any app on web.

Expected behavior

Successful build.

UI Kitten and Eva version

Package Version
@eva-design/eva 5.0.0-alpha.1
@ui-kitten/components 2.0.0-alpha.1

Environment information

  System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 13.12.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
  IDEs:
    Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
  npmPackages:
    react: ~16.9.0 => 16.9.0 
    react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4 
@artyorsh
Copy link
Collaborator

Consider looking through the discussion in that issue, there is a workaround on this.

@artyorsh artyorsh added 🌐 Web react-native-web specific Duplicate labels Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate 🌐 Web react-native-web specific
Projects
None yet
Development

No branches or pull requests

2 participants