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

Uncaught TypeError: react_native_1.UIManager.getViewManagerConfig is not a function #1

Open
besiwims opened this issue Aug 1, 2023 · 0 comments

Comments

@besiwims
Copy link

besiwims commented Aug 1, 2023

Uncaught TypeError: react_native_1.UIManager.getViewManagerConfig is not a function
at ./node_modules/react-native-maps/lib/decorateMapComponent.js (decorateMapComponent.js:29:1)
at webpack_require (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./node_modules/react-native-maps/lib/MapMarker.js (MapMarker.js:29:1)
at webpack_require (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./node_modules/react-native-maps/lib/index.js (index.js:37:1)
at webpack_require (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./components/Map.js (App.js:51:1)

from console

19 | import Platform from '../Utilities/Platform';
20 | import TextAncestor from './TextAncestor';
21 | import {NativeText, NativeVirtualText} from './TextNativeComponent';
22 | import {type TextProps} from './TextProps';

ERROR in ./node_modules/react-native/Libraries/Utilities/DevSettings.js:15
Module not found: Can't resolve '../Utilities/Platform'
13 | import NativeEventEmitter from '../EventEmitter/NativeEventEmitter';
14 | import NativeDevSettings from '../NativeModules/specs/NativeDevSettings';

15 | import Platform from '../Utilities/Platform';
16 |
17 | let DevSettings: {
18 | addMenuItem(title: string, handler: () => mixed): void,

ERROR in ./node_modules/react-native/Libraries/Utilities/HMRClient.js:18:17
Module not found: Can't resolve './Platform'
16 |
17 | const DevSettings = require('./DevSettings');

18 | const Platform = require('./Platform');
| ^
19 | const invariant = require('invariant');
20 | const MetroHMRClient = require('metro-runtime/src/modules/HMRClient');
21 | const prettyFormat = require('pretty-format');

ERROR in ./node_modules/react-native/Libraries/WebSocket/WebSocket.js:18
Module not found: Can't resolve '../Utilities/Platform'
16 | import NativeEventEmitter from '../EventEmitter/NativeEventEmitter';
17 | import binaryToBase64 from '../Utilities/binaryToBase64';

18 | import Platform from '../Utilities/Platform';
19 | import NativeWebSocketModule from './NativeWebSocketModule';
20 | import WebSocketEvent from './WebSocketEvent';
21 | import base64 from 'base64-js';

ERROR in ./node_modules/react-native/Libraries/WebSocket/WebSocketInterceptor.js:11
Module not found: Can't resolve '../Utilities/Platform'
9 |
10 | import NativeEventEmitter from '../EventEmitter/NativeEventEmitter';

11 | import Platform from '../Utilities/Platform';
12 | import NativeWebSocketModule from './NativeWebSocketModule';
13 | import base64 from 'base64-js';
14 |

web compiled with 52 errors and 145 warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant