我有一个反应本机应用程序 (expo) 突然开始给我错误。目前的错误是:
Could not resolve dependency:
peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
node_modules/@babel/preset-es2015
dev @babel/preset-es2015@"^7.0.0-beta.53" from the root project
Babel.config.js
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo', "@babel/react", "react-native", "stage-0"],
};
};
我无法在 Google 或 SO 上找到解决此问题的方法。有人能帮我解决这个问题吗?