编译失败:
/home/admin1/MERN/dheya/react-native-crud/node_modules/static-container/StaticContainer.js 5:21模块解析失败:意外的令牌(5:21)您可能需要一个 适当的加载程序来处理此文件类型,当前,没有加载程序 配置为处理此文件。看到 https://webpack.js.org/concepts#loaders
export default class extends Component {
static propTypes = {
shouldUpdate: PropTypes.bool.isRequired
}
};
答案 0 :(得分:2)
编辑您的Requirement already satisfied: pandas in /Users/walid/.conda/envs/Python/lib/python3.7/site-packages (1.0.3)
Requirement already satisfied: numpy>=1.13.3 in /Users/walid/.conda/envs/Python/lib/python3.7/site-packages (from pandas) (1.18.1)
Requirement already satisfied: pytz>=2017.2 in /Users/walid/.conda/envs/Python/lib/python3.7/site-packages (from pandas) (2019.3)
Requirement already satisfied: python-dateutil>=2.6.1 in /Users/walid/.local/lib/python3.7/site-packages (from pandas) (2.8.1)
Requirement already satisfied: six>=1.5 in /Users/walid/.conda/envs/Python/lib/python3.7/site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0)
app.json
然后运行它,然后再次启动项目,
{
"expo": {
...//other configs
"web": {
"build": {
"babel": {
"include": ["static-container"]
}
}
}
}
}