nx-react-native icon indicating copy to clipboard operation
nx-react-native copied to clipboard

Test Failed for new Project

Open broerjuang opened this issue 4 years ago • 0 comments

Trying to installing via nx react-native and then failed because missing deps when trying to run test

Screen Shot 2021-11-24 at 18 02 03

It's resolved after I install all deps that needed inside preprocessor.js

+    "@babel/plugin-proposal-class-properties": "^7.16.0",
+    "@babel/plugin-transform-arrow-functions": "^7.16.0",
+    "@babel/plugin-transform-block-scoping": "^7.16.0",
+    "@babel/plugin-transform-classes": "^7.16.0",
+    "@babel/plugin-transform-computed-properties": "^7.16.0",
+    "@babel/plugin-transform-destructuring": "^7.16.0",
+    "@babel/plugin-transform-exponentiation-operator": "^7.16.0",
+    "@babel/plugin-transform-for-of": "^7.16.0",
+    "@babel/plugin-transform-function-name": "^7.16.0",
+    "@babel/plugin-transform-literals": "^7.16.0",
+    "@babel/plugin-transform-object-assign": "^7.16.0",
+    "@babel/plugin-transform-react-display-name": "^7.16.0",
+    "@babel/plugin-transform-react-jsx-source": "^7.16.0",
+    "@babel/plugin-transform-regenerator": "^7.16.0",
+    "@babel/plugin-transform-shorthand-properties": "^7.16.0",
+    "@babel/plugin-transform-spread": "^7.16.0",
+    "@babel/plugin-transform-sticky-regex": "^7.16.0",
+    "@babel/plugin-transform-template-literals": "^7.16.0",
+    "@babel/plugin-transform-unicode-regex": "^7.16.0",

It requires me to install lot of @babel to run the test. Any workaround to solve this?

broerjuang avatar Nov 24 '21 11:11 broerjuang