You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console is throwing the below listed errors in Failure Logs
Steps to Reproduce
Follow all the steps in the readme
run the app as usual using terminal.
Failure Logs
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
Solution
After upgrading dependencies to #133 ,To solve this issue,
navigate to \node_modules\metro-config\src\defaults\blacklist.js and upgrade
var sharedBlacklist = [ /node_modules[/\\]react[/\\]dist[/\\].*/, /website\/node_modules\/.*/, /heapCapture\/bundle\.js/, /.*\/__tests__\/.*/ ];
To
var sharedBlacklist = [ /node_modules[\/\\]react[\/\\]dist[\/\\].*/, /website\/node_modules\/.*/, /heapCapture\/bundle\.js/, /.*\/__tests__\/.*/ ];
This will probably solve the error.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Perfectly Running App without no pre-log Errors.
Current Behavior
The console is throwing the below listed errors in Failure Logs
Steps to Reproduce
Failure Logs
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
Solution
After upgrading dependencies to #133 ,To solve this issue,
navigate to
\node_modules\metro-config\src\defaults\blacklist.js
and upgradevar sharedBlacklist = [ /node_modules[/\\]react[/\\]dist[/\\].*/, /website\/node_modules\/.*/, /heapCapture\/bundle\.js/, /.*\/__tests__\/.*/ ];
To
var sharedBlacklist = [ /node_modules[\/\\]react[\/\\]dist[\/\\].*/, /website\/node_modules\/.*/, /heapCapture\/bundle\.js/, /.*\/__tests__\/.*/ ];
This will probably solve the error.
The text was updated successfully, but these errors were encountered: