shoutem / ui

Customizable set of components for React Native applications
Other
4.9k stars 454 forks source link

Restaurant example app invalid regular expression error #458

Open psrdotcom opened 4 years ago

psrdotcom commented 4 years ago

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."

psrdotcom commented 4 years ago

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