GeekyAnts / GeekyAnts/NativeBase-KitchenSink

not running the class from metro loader module

Open
#184 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

```
`
C:\Users\hp\Desktop\chatApplicationTest\3\node_modules\metro-config\src\defaults\blacklist.js:34
return new RegExp(
^

SyntaxError: Invalid regular expression: /(.*\\__fixtures__\\.*|node_modules[\\\]react[\\\]dist[\\\].*|website\\node_modules\\.*|heapCapture\\bundle\.js|.*\\__tests__\\.*)$/: Unterminated character class
at new RegExp ()
at blacklist (C:\Users\hp\Desktop\chatApplicationTest\3\node_modules\metro-config\src\defaults\blacklist.js:34:10)
at getBlacklistRE (C:\Users\hp\Desktop\chatApplicationTest\3\node_modules\react-native\local-cli\util\Config.js:56:10)
at Object. (C:\Users\hp\Desktop\chatApplicationTest\3\node_modules\react-native\local-cli\util\Config.js:71:20)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Module._compile (C:\Users\hp\Desktop\chatApplicationTest\3\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Object.newLoader [as .js] (C:\Users\hp\Desktop\chatApplicationTest\3\node_modules\pirates\lib\index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
`
```

solve this issue its important

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with node_modules/metro-config/src/defaults/blacklist.js at line 34, then trace how react-native/local-cli/util/Config.js calls blacklist through getBlacklistRE. Reproduce the class launch and confirm that the regular expression can be constructed without the reported SyntaxError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.