) I have a big problem, I spend the whole day fixing it and finding consensus between the dependencies of several packages. I have problems with current tests:
Users/P/Projects/react-native/node_modules/native-base-shoutem-theme/index.js:1 ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import connectStyle from './src/connectStyle'; ^^^^^^ SyntaxError: Unexpected token import at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/ScriptTransformer.js:289:17) at Object.<anonymous> (node_modules/native-base/dist/src/index.js:1:1133) at Object.<anonymous> (app/index.js:18:96)
I am currently looking for a good version of responsive, responsive-responsive, responsive, native base and responsive-test rendering. I tried a new one and a little old one, but sometimes I have this error, sometimes others. I decided to fix it because it is a problem with some new version. My NPMs:
"babel-cli": "6.24.1", "react-native": "0.44.0", "native-base": "2.1.2", "react": "16.0.0-alpha.3", "response-test-renderer": "16.0.0-alpha.3"
node version 7.7.2 npm version 4.1.2
If you have other additional versions of WORKING, please pass me by or help me fix this error;) I thought I could fix it compared to init-init init, and there the tests work for me, but not on my project .. I have no idea what might be wrong: /
I know this is a little complicated, but please help me;)
EDIT: In response-native version 0.45.0, I have this error 💃
● Test suite failed to run TypeError: Cannot read property 'ReactCurrentOwner' of undefined at Object.<anonymous> (node_modules/react-native/Libraries/Renderer/src/renderers/shared/ReactGlobalSharedState.js:18:33) at Object.<anonymous> (node_modules/react-native/Libraries/Renderer/src/renderers/shared/ReactDebugTool.js:18:1) at Object.<anonymous> (node_modules/react-native/Libraries/Renderer/src/renderers/shared/ReactInstrumentation.js:19:20)
My old working versions, but I wanted to update the packages:
"babel-cli": "6.23.0" "react": "15.4.1", "react-native": "0.42.3", "native-base": "2.0.12", "reactions- add-on test utilities ":" 15.4.1 ",