-
Notifications
You must be signed in to change notification settings - Fork 0
Description
***** Fatal JavaScript exception - application has been terminated. *****
NativeScript encountered a fatal error: Uncaught Error: Module parse failed: Unexpected token (13:7)
File was processed with these loaders:
*../node_modules/@nativescript/webpack/hmr/hot-loader.js
You may need an additional loader to handle the result of these loaders.
| 'use strict';
|
import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
| import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
| import typeof Button from './Libraries/Components/Button';
at
../../../node_modules/react-native/index.js(file:///app/vendor.js:67201:7)
at webpack_require(file: src/webpack/bootstrap:74:0)
at ./components/UIScreen.tsx(file: src/components/UIScreen.tsx:1:0)
at webpack_require(file: src/webpack/bootstrap:74:0)
at ./components/Navigator.tsx(file: src/components/Navigator.tsx:1:0)
at webpack_require(file: src/webpack/bootstrap:74:0)
at (file: src/app.ts:1:31)
at ./app.ts(file:///app/bundle.js:113:30)
at __webpack_requir<…>
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught Error: Module parse failed: Unexpected token (13:7)
File was processed with these loaders:
*../node_modules/@nativescript/webpack/hmr/hot-loader.js
You may need an additional loader to handle the result of these loaders.
| 'use strict';
|
import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
| import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
| import typeof Button from './Libraries/Components/Button';
at
../../../node_modules/react-native/index.js(file:///app/vendor.js:67201:7)
at webpack_require(file: src/webpack/bootstrap:74:0)
at ./components/UIScreen.tsx(file: src/components/UIScreen.tsx:1:0)
at webpack_require(file: src/webpack/bootstrap:74:0)
at ./components/Navigator.tsx(file: src/components/Navigator.tsx:1:0)
at webpack_require(file: src/webpack/bootstrap:74:0)
at (file: src/app.ts:1:31)
at ./app.ts(fil<…>
Occurs when importing and using anything from rn, on the master branch.