After cloning the project, while run the command "yarn start". Getting the below error,
error Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class. Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
File: uPort\uport-mobile\node_modules\metro-config\src\defaults\blacklist.js
After correcting the above issue by modifying the regex, run command "yarn start" now we should not get any error
Then run command "react-native run-android". Once application start running in android emulator, after some seconds getting the below error
TypeError: cb.apply is not a function
at C:\Users\\AndroidStudioProjects\uPort\uport-mobile\node_modules\graceful-fs\polyfills.js:285:20
at FSReqCallback.oncomplete (fs.js:177:5)
error Command failed with exit code 1.
To Reproduce
Steps to reproduce the behavior:
Clone the Project
Install yarn,react-native cli and all dependencies
yarn
yarn start [Will throw error for Invalid Expression]
react-native run-android
When app loads data from "http://10.0.2.2:8081" will see error msg in terminal [TypeError: cb.apply is not a function]
Expected behavior
Should able to run app successfully
Screenshots
Desktop (please complete the following information):
-Windows 10
VS code Editior
Smartphone (please complete the following information):
Device: Android Emulator [Pixel 2 API 28]
ANDROID 9
Additional context
Tried running app from android studio but build failed due to "DerInputStream.getLength(): lengthTag=109, too big."
I request to help me to resolve the issue if my setup was wrong. Or need do some steps to resolve
After cloning the project, while run the command "yarn start". Getting the below error, error Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class. Run CLI with --verbose flag for more details. error Command failed with exit code 1. File: uPort\uport-mobile\node_modules\metro-config\src\defaults\blacklist.js
After correcting the above issue by modifying the regex, run command "yarn start" now we should not get any error Then run command "react-native run-android". Once application start running in android emulator, after some seconds getting the below error
DELTA [android, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)C:\Users\\AndroidStudioProjects\uPort\uport-mobile\node_modules\graceful-fs\polyfills.js:285
if (cb) cb.apply(this, arguments)
^
TypeError: cb.apply is not a function at C:\Users\\AndroidStudioProjects\uPort\uport-mobile\node_modules\graceful-fs\polyfills.js:285:20
at FSReqCallback.oncomplete (fs.js:177:5) error Command failed with exit code 1.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should able to run app successfully
Screenshots
Desktop (please complete the following information): -Windows 10
Smartphone (please complete the following information):
Additional context Tried running app from android studio but build failed due to "DerInputStream.getLength(): lengthTag=109, too big." I request to help me to resolve the issue if my setup was wrong. Or need do some steps to resolve