shoutem/ui

Restaurant example app invalid regular expression error

psrdotcom opened this issue · 1 comments

Not able to run the app and in console the following error is being displayed
"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."

When I use verbose, the following error details has been displayed

error Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class
debug 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\SureshRajuPilli\Documents\PSR\Dev\Shoutem\ui\examples\RestaurantsApp\node_modules\metro-config\src\defaults\blacklist.js:34:10)
at getBlacklistRE (C:\Users\SureshRajuPilli\Documents\PSR\Dev\Shoutem\ui\examples\RestaurantsApp\node_modules@react-native-community\cli\build\tools\loadMetroConfig.js:61:59)
at getDefaultConfig (C:\Users\SureshRajuPilli\Documents\PSR\Dev\Shoutem\ui\examples\RestaurantsApp\node_modules@react-native-community\cli\build\tools\loadMetroConfig.js:75:20)
at load (C:\Users\SureshRajuPilli\Documents\PSR\Dev\Shoutem\ui\examples\RestaurantsApp\node_modules@react-native-community\cli\build\tools\loadMetroConfig.js:103:25)
at Object.runServer [as func] (C:\Users\SureshRajuPilli\Documents\PSR\Dev\Shoutem\ui\examples\RestaurantsApp\node_modules@react-native-community\cli\build\commands\server\runServer.js:72:58)
at C:\Users\SureshRajuPilli\Documents\PSR\Dev\Shoutem\ui\examples\RestaurantsApp\node_modules@react-native-community\cli\build\cliEntry.js:152:22