微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法识别的字体系列 - 博览会弹出后 ExpoKit

如何解决无法识别的字体系列 - 博览会弹出后 ExpoKit

expo 弹出后我有这个问题

无法识别的字体系列“ProximaNova-Bold”

metro.config.js :

const { getDefaultConfig } = require('@expo/metro-config');

module.exports = (async () => {
  const {
    resolver: { sourceExts,assetExts },} = await getDefaultConfig(__dirname);
  return {
    transformer: {
      babelTransformerPath: require.resolve('react-native-svg-transformer'),},resolver: {
      assetExts: assetExts.filter((ext) => ext !== 'svg'),sourceExts: [...sourceExts,'svg'],};
})();

这个cmd没有解决问题:

rm -rf node_modules
npm cache clean --force
rm -rf .expo
rm package-lock.json
npm install

PS:我试过https://github.com/expo/expo/issues/11333

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。