Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restaurant example app invalid regular expression error #458

Open
psrdotcom opened this issue Nov 6, 2019 · 1 comment
Open

Restaurant example app invalid regular expression error #458

psrdotcom opened this issue Nov 6, 2019 · 1 comment

Comments

@psrdotcom
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant