📜  错误 Metro bundler 进程退出,代码 1 反应本机 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:26.146000             🧑  作者: Mango

代码示例1
Got this issue today on windows, but don't need to downgrade node, just as discussed on stackoverflow just need to change some hashes on your project:

\node_modules\metro-config\src\defaults\blacklist.js

var sharedBlacklist = [
  /node_modules[/\\]react[/\\]dist[/\\].*/,
  /website\/node_modules\/.*/,
  /heapCapture\/bundle\.js/,
  /.*\/__tests__\/.*/
];