You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***** 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.
The text was updated successfully, but these errors were encountered:
On the haul branch with the following code app.ts (like on master):
import * as React from 'react';
/* Controls react-nativescript log verbosity. true: all logs; false: only error logs. */
Object.defineProperty(global, '__DEV__', { value: false });
/*
In NativeScript, the app.ts file is the entry point to your application.
You can use this file to perform app-level initialization, but the primary
purpose of the file is to pass control to the app’s first module.
*/
import * as ReactNativeScript from 'react-nativescript';
import { mainStackNavigator as AppContainer } from './components/Navigator';
ReactNativeScript.start(React.createElement(AppContainer, {}, null));
/*
Do not place any code after the application has been started as it will not
be executed on iOS.
*/
--> Uncaught TypeError: ReactReconciler is not a function
I don’t know how to use React NativeScript and React Native at the same time; it always throws that ReactReconciler is not a function error. I’ve given up on mixing RNS and RN, and have changed focus to using RN in a vanilla NativeScript app (as on the haul branch). And on that front, I’m blocked on RCTBridge exiting the app without giving an error stack.
Occurs when importing and using anything from rn, on the master branch.
The text was updated successfully, but these errors were encountered: