我正在使用https://github.com/evenchange4/react-grecaptcha中的reCaptcha
我在Win10 env中创建了一个React-Native空项目(react-native 0.57),添加了reCaptcha,当我使用reCaptcha时得到了下面的转储。
任何想法都会受到欢迎!
谢谢!
转储:
TypeError: In this environment the sources for assign MUST be an object. This error is a performance optimization and not spec compliant.
This error is located at:
in Recaptcha (at App.js:31)
in RCTView (at View.js:44)
in App (at renderApplication.js:34)
in RCTView (at View.js:44)
in RCTView (at View.js:44)
in AppContainer (at renderApplication.js:33)
assign
.\evmobiletestnew2\node_modules\react-native\Libraries\polyfills\Object.es6.js:38:10
render
.\evmobiletestnew2\node_modules\react-grecaptcha\lib\Recaptcha.js:96:27
finishClassComponent
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:10563:21
updateClassComponent
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:10505:4
beginWork
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:11338:8
performUnitOfWork
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14091:21
workLoop
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14129:41
renderRoot
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14226:15
performWorkOnRoot
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15193:17
performWork
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15090:24
performSyncWork
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15047:14
requestWork
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14925:19
scheduleWork
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14711:16
scheduleRootUpdate
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15429:15
updateContainerAtExpirationTime
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15462:28
updateContainer
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15494:4
render
.\evmobiletestnew2\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:16142:20
renderApplication
.\evmobiletestnew2\node_modules\react-native\Libraries\ReactNative\renderApplication.js:59:34
run
.\evmobiletestnew2\node_modules\react-native\Libraries\ReactNative\AppRegistry.js:101:10
runApplication
.\evmobiletestnew2\node_modules\react-native\Libraries\ReactNative\AppRegistry.js:195:26
__callFunction
.\evmobiletestnew2\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:349:47
.\evmobiletestnew2\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:106:26
__guard
.\evmobiletestnew2\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:297:10
callFunctionReturnFlushedQueue
.\evmobiletestnew2\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:105:17