标签:class EAP black expr 个人 ring rmi pre share
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.
\node_modules\metro-config\src\defaults\blacklist.js
替换内容为:
var sharedBlacklist = [
/node_modules[\/\\]react[\/\\]dist[\/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
原来以为这个报错是因为 windows 系统导致的,所以要对内容进行转义,后来发现其他同事windows系统并未有此现象,个人分析原因可能是 命令工具所致
标签:class EAP black expr 个人 ring rmi pre share
原文地址:https://www.cnblogs.com/360minitao/p/14225040.html