Open gooddaddy opened 6 years ago
在0.46.4版本中使用 直接崩溃了,只要import ViewPager from 'react-native-viewpager'; 就挂 提示: ExceptionsManager.js:63 this._lazyCallableModules[name] is not a function handleException @ ExceptionsManager.js:63 handleError @ InitializeCore.js:125 reportFatalError @ error-guard.js:44 guard @ MessageQueue.js:230 callFunctionReturnFlushedQueue @ MessageQueue.js:100 (anonymous) @ debuggerWorker.js:71 ExceptionsManager.js:71 Unhandled JS Exception: Cannot read property 'func' of undefined reactConsoleErrorHandler @ ExceptionsManager.js:71 logToConsole @ RCTLog.js:43 logIfNoNativeHook @ RCTLog.js:29 callFunction @ MessageQueue.js:260 (anonymous) @ MessageQueue.js:101 __guard @ MessageQueue.js:228 callFunctionReturnFlushedQueue @ MessageQueue.js:100 (anonymous) @ debuggerWorker.js:71 ExceptionsManager.js:71 Unhandled JS Exception: this._lazyCallableModules[name] is not a function
我也遇到了,你是怎么解决的
在0.46.4版本中使用 直接崩溃了,只要import ViewPager from 'react-native-viewpager'; 就挂 提示: ExceptionsManager.js:63 this._lazyCallableModules[name] is not a function handleException @ ExceptionsManager.js:63 handleError @ InitializeCore.js:125 reportFatalError @ error-guard.js:44 guard @ MessageQueue.js:230 callFunctionReturnFlushedQueue @ MessageQueue.js:100 (anonymous) @ debuggerWorker.js:71 ExceptionsManager.js:71 Unhandled JS Exception: Cannot read property 'func' of undefined reactConsoleErrorHandler @ ExceptionsManager.js:71 logToConsole @ RCTLog.js:43 logIfNoNativeHook @ RCTLog.js:29 callFunction @ MessageQueue.js:260 (anonymous) @ MessageQueue.js:101 __guard @ MessageQueue.js:228 callFunctionReturnFlushedQueue @ MessageQueue.js:100 (anonymous) @ debuggerWorker.js:71 ExceptionsManager.js:71 Unhandled JS Exception: this._lazyCallableModules[name] is not a function