小弟我的React Native版本是0.62.2版本,run android debug到模擬器與實體手機都會出現閃退...
把React Native升級到0.64.0,run android debug跑出 500錯誤,錯誤如下:
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:523:3)
at tryReadSync (fs.js:348:20)
at Object.readFileSync (fs.js:385:19)
at UnableToResolveError.buildCodeFrameMessage (D:\專案\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:347:17)
at new UnableToResolveError (D:\專案\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:333:35)
at ModuleResolver.resolveDependency (D:\專案\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:211:15)
at DependencyGraph.resolveDependency (D:\專案\node_modules\metro\src\node-haste\DependencyGraph.js:413:43)
at D:\專案\node_modules\metro\src\lib\transformHelpers.js:317:42
at D:\tkolifegoApp\node_modules\metro\src\Server.js:1471:14
at Generator.next ()
目前專案有安裝的插件
import { NavigationContainer, useFocusEffect } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
//本地端儲存
import AsyncStorage from '@react-native-community/async-storage';
//Loading畫面
import LoadingView from 'react-native-loading-view';
//easy-Toast
import Toast, {DURATION} from 'react-native-easy-toast';
//滑動選單
import ScrollableTabView, {DefaultTabBar,ScrollableTabBar} from 'react-native-scrollable-tab-view';
這是0.64.0版本升級後,電腦的react-native cli或者node版本需要升級還是說Java版本也要升級嗎?
還是還有其他的問題,小弟我不太懂,請大家幫幫忙