Module parse failed: Unexpected token. You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
See original GitHub issue🐛 Bug Report
Not able to build code
UI Kitten and Eva version
Package | Version |
---|---|
@eva-design/eva | ^2.0.0-alpha.1 |
@ui-kitten/components | ^5.0.0-alpha.1 |
Environment information
System:
OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
Binaries:
Node: 13.9.0 - ~/.nvm/versions/node/v13.9.0/bin/node
Yarn: 1.22.4 - ~/.yvm/shim/yarn
npm: 6.14.4 - ~/.nvm/versions/node/v13.9.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 27, 28
Build Tools: 27.0.3, 28.0.3, 29.0.3
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
npmPackages:
react: ~16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4
Issue Analytics
- State:
- Created 3 years ago
- Reactions:28
- Comments:43
Top Results From Across the Web
You may need an appropriate loader to handle this file type ...
js 67:6 Module parse failed: Unexpected token (67:6) You may need an appropriate loader to handle this file type, currently no loaders are ......
Read more >You may need an appropriate loader to handle ... - Laracasts
... Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured...
Read more >You may need an appropriate loader to handle this file type ...
I 'm having a problem configuring Webpack for Typescript and React. ... file type currently no loaders are configured to process this file....
Read more >module parse failed: unexpected token (1:0) you may need an ...
module parse failed : unexpected token (1:0) you may need an appropriate loader to handle this file type, currently no loaders are configured...
Read more >039;t build with webpack - Material Design for Bootstrap
... Module parse failed: Unexpected token (6:3) You may need an appropriate loader to handle this file type, currently no loaders are configured...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Steps
Install expo webpack config dependency
npm i -D @expo/webpack-config
Create
webpack.config.js
in the root folder of the project and add the code snippet belowThis code snippet is for
webpack.config
I believe instead ofbabel.config
For now, I’ve used installed
@expo/webpack-config
packages which let us modify the webpack file, createdwebpack.config
at root level and added this code snippetI know this code snippet is not clean. Any suggestions regarding this approach are much appreciated. Thanks! 😃