If you are running on windows you can try the solutions provided in this thread on github.
(如果您在Windows上运行,则可以尝试在github上的该线程中提供的解决方案。)
Solution from github that seems to work:
(来自github的解决方案似乎有效:)
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:
ode_modulesmetro-configsrcdefaultslacklist.js
var sharedBlacklist = [
/node_modules[/\]react[/\]dist[/\].*/,
/website/node_modules/.*/,
/heapCapture/bundle.js/,
/.*/__tests__/.*/
];
change to:
(改成:)
var sharedBlacklist = [
/node_modules[/\]react[/\]dist[/\].*/,
/website/node_modules/.*/,
/heapCapture/bundle.js/,
/.*/__tests__/.*/
];
https://github.com/expo/expo-cli/issues/1074
(https://github.com/expo/expo-cli/issues/1074)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…