如果有人知道怎么做,请帮助我修复这个错误:
Failed building JavaScript bundle.
Unable to resolve module ../Components/View/ReactNativeViewViewConfig from C:YandexDiskбизнесPythonacer_17_inchtests_react_nativenode_modulesreact-nativeLibrariesImageImageViewViewConfig.js:
None of these files exist:
* node_modulesreact-nativeLibrariesComponentsViewReactNativeViewViewConfig(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
* node_modulesreact-nativeLibrariesComponentsViewReactNativeViewViewConfigindex(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
11 | 'use strict';
12 |
> 13 | import ReactNativeViewViewConfig from '../Components/View/ReactNativeViewViewConfig';
| ^
14 | import type {ReactNativeBaseComponentViewConfig} from '../Renderer/shims/ReactNativeTypes';
15 |
16 | const ImageViewViewConfig = {
错误图像
修复了使用'expo update'命令更新的错误
错误告诉你什么是错的,仔细阅读
Unable to resolve module ../Components/View/ReactNativeViewViewConfig from C:YandexDiskбизнесPythonacer_17_inchtests_react_nativenode_modulesreact-nativeLibrariesImageImageViewViewConfig.js:
检查导入路径