error Invalid regular expression: /(.*\\__fixtures__\\.*|node_modules[\\\]react[\\\]dist[\\\].*|website\\node_modules\\.*|heapCapture\\bundle\.js|.*\\__tests__\\.*)$/: Unterminated character class.
JavaScript
I don't have metro-config in my project, now what?
I have found that in pretty older project there is no metro-config in node_modules. If it is the case with you, then,
Go to node_modules/metro-bundler/src/blacklist.js
And do the same step as mentioned in other answers, i.e.
Replace
var sharedBlacklist = [
/node_modules[/\\]react[/\\]dist[/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
with
var sharedBlacklist = [
/node_modules[\/\\]react[\/\\]dist[\/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
P.S. I faced the same situation in a couple of projects so thought sharing it might help someone.
Edit
As per comment by @beltrone the file might also exist in,
node_modules\metro\src\blacklist.js
Also in JavaScript:
- Title
- http server node example
- Category
- JavaScript
- Title
- how to set diferent images in html through js
- Category
- JavaScript
- Title
- find the matching property
- Category
- JavaScript
- Title
- how to return the number of nodes in a linked list
- Category
- JavaScript
- Title
- flutter vs react native
- Category
- JavaScript
- Title
- add firebase angular
- Category
- JavaScript
- Title
- faker js
- Category
- JavaScript
- Title
- events js 292 throw er Unhandled 'error' event ^ Error getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0 at GetAddrInfoReqWrap.onlookup [as oncomplete]
- Category
- JavaScript
- Title
- append new element for each value in array d3.js
- Category
- JavaScript
- Title
- how to remove duplicate array object in javascript
- Category
- JavaScript
- Title
- getboundingclientrect() javascript
- Category
- JavaScript
- Title
- angular list contains property
- Category
- JavaScript
- Title
- angular one way property binding
- Category
- JavaScript
- Title
- image continuous changing div
- Category
- JavaScript
- Title
- get screen width javascript
- Category
- JavaScript
- Title
- firebase app named default already exists react native
- Category
- JavaScript
- Title
- install php7 runtime brackets
- Category
- JavaScript
- Title
- check array for duplicate values javascript
- Category
- JavaScript
- Title
- brute force search javascript
- Category
- JavaScript
- Title
- javascript change attribute
- Category
- JavaScript
- Title
- detect a click outside an element javascript
- Category
- JavaScript
- Title
- Javascript compare two dates
- Category
- JavaScript
- Title
- javascript append to object
- Category
- JavaScript
- Title
- format a date moment
- Category
- JavaScript
- Title
- filter out arrays js
- Category
- JavaScript
- Title
- how the concat function works javascript
- Category
- JavaScript
- Title
- create element javascript with class
- Category
- JavaScript
- Title
- check if string contains substring javascript
- Category
- JavaScript
- Title
- angular run with proxy
- Category
- JavaScript
- Title
- Find channel discord js
- Category
- JavaScript
- Title
- iterate array in javascrpt
- Category
- JavaScript
- Title
- how to program an array in js
- Category
- JavaScript
- Title
- html loop through array
- Category
- JavaScript
- Title
- gitignore for angular
- Category
- JavaScript
- Title
- express url redirect
- Category
- JavaScript
- Title
- calling function from function object javascript
- Category
- JavaScript
- Title
- covid
- Category
- JavaScript
- Title
- for of and for in javascript
- Category
- JavaScript
- Title
- Alert.alert closing expo
- Category
- JavaScript
- Title
- axios file upload
- Category
- JavaScript
- Title
- Getting the differences between two objects javascript lib
- Category
- JavaScript
- Title
- inheritance in javascript
- Category
- JavaScript
- Title
- If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project. That will permanently disable this message but you might encounter other issues.
- Category
- JavaScript
- Title
- how to paste in input field react native
- Category
- JavaScript
- Title
- if condition in class angular 8
- Category
- JavaScript
- Title
- debug node
- Category
- JavaScript
- Title
- if str contains jquery
- Category
- JavaScript
- Title
- expo app.json
- Category
- JavaScript
- Title
- how to manage a db connection in javascript
- Category
- JavaScript
- Title
- check array values equal js
- Category
- JavaScript
- Title
- boucle for of javascript
- Category
- JavaScript
- Title
- how to pass custom regex in jquery validation
- Category
- JavaScript
- Title
- int cating javascript
- Category
- JavaScript
- Title
- get the state of a checkbox
- Category
- JavaScript
- Title
- class javascript
- Category
- JavaScript
- Title
- explode in jquery
- Category
- JavaScript
- Title
- export aab react native
- Category
- JavaScript
- Title
- how to sepaarte text in object javascript
- Category
- JavaScript
- Title
- click doesn't work on ajax loaded data
- Category
- JavaScript
- Title
- how to save thing in cookie js
- Category
- JavaScript
- Title
- Javascript case insensitive string comparison
- Category
- JavaScript
- Title
- discord.js how to go back a file
- Category
- JavaScript
- Title
- get value of checked radio button jquery
- Category
- JavaScript
- Title
- how to use function in javascript
- Category
- JavaScript
- Title
- how to get today date in javascript
- Category
- JavaScript
- Title
- how to use the foreach method in javascript
- Category
- JavaScript
- Title
- find and delete element from array js
- Category
- JavaScript
- Title
- find substring in string javascript
- Category
- JavaScript
- Title
- electron Uncaught ReferenceError: require is not defined at recorder.js:1
- Category
- JavaScript
- Title
- disable autocomplete javascript
- Category
- JavaScript
- Title
- javacript count properties
- Category
- JavaScript
- Title
- array insertion javascript
- Category
- JavaScript
- Title
- Check ratelimit discord js
- Category
- JavaScript
- Title
- datatables server side
- Category
- JavaScript
- Title
- ad data to js object
- Category
- JavaScript
- Title
- how to remove a property from an object in javascript
- Category
- JavaScript
- Title
- document ready
- Category
- JavaScript
- Title
- how to check if a number is even or odd in javascript
- Category
- JavaScript
- Title
- columndefs in datatable not working while setting width jquery
- Category
- JavaScript
- Title
- expo create react native app
- Category
- JavaScript
- Title
- javascript adding an array to an array
- Category
- JavaScript
- Title
- html parser javascript
- Category
- JavaScript
- Title
- array find javascript
- Category
- JavaScript
- Title
- how to access all images in a document javascript
- Category
- JavaScript
- Title
- bootstrap datepicker format dd-mm-yyyy
- Category
- JavaScript
- Title
- how to see if a web site is useing react
- Category
- JavaScript
- Title
- javascript ajouter une donnée à une list
- Category
- JavaScript
- Title
- javascript click event notifications
- Category
- JavaScript
- Title
- component navigation without changin the url react router
- Category
- JavaScript
- Title
- callback function javascript
- Category
- JavaScript
- Title
- generate unique id javascript
- Category
- JavaScript
- Title
- javascript all type of data
- Category
- JavaScript
- Title
- angular check if control has required validator
- Category
- JavaScript
- Title
- Add table row in jQuery
- Category
- JavaScript
- Title
- javascript add commas to number
- Category
- JavaScript
- Title
- how to apply gavity to code in javascript
- Category
- JavaScript
- Title
- check first two number jquery
- Category
- JavaScript
- Title
- integer to array javascript
- Category
- JavaScript
- Title
- how to add role in discord.js v12
- Category
- JavaScript
- Title
- convert hashmap into json
- Category
- JavaScript