Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized font family 'FontAwesome' #89

Closed
mraible opened this issue Mar 7, 2020 · 2 comments
Closed

Unrecognized font family 'FontAwesome' #89

mraible opened this issue Mar 7, 2020 · 2 comments

Comments

@mraible
Copy link
Contributor

mraible commented Mar 7, 2020

Describe the bug

If I create entities with 21 Points JDL, I get an error whenever I try to edit one. Dismiss the error and everything works.

Screen Shot 2020-03-06 at 7 15 14 PM

Instructions To reproduce

npm i -g ignite-cli ignite-jhipster
ignite new HealthPoints -b ignite-jhipster
ignite generate import-jdl ../app.jh

JHipster app's .yo-rc.json

{
  "generator-jhipster": {
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "enableHibernateCache": true,
    "enableSwaggerCodegen": false,
    "enableTranslation": true,
    "jhiPrefix": "jhi",
    "languages": ["en", "es"],
    "messageBroker": false,
    "nativeLanguage": "en",
    "packageName": "com.okta.developer",
    "packageFolder": "com/okta/developer",
    "prodDatabaseType": "postgresql",
    "searchEngine": "elasticsearch",
    "serviceDiscoveryType": false,
    "skipClient": false,
    "skipServer": false,
    "testFrameworks": ["protractor"],
    "websocket": false,
    "applicationType": "monolith",
    "baseName": "HealthPoints",
    "authenticationType": "oauth2",
    "buildTool": "gradle",
    "clientFramework": "react",
    "useSass": true,
    "jhipsterVersion": "6.7.1",
    "creationTimestamp": 1583524080362,
    "skipUserManagement": true,
    "clientPackageManager": "npm",
    "cacheProvider": "ehcache",
    "clientTheme": "none",
    "clientThemeVariant": "",
    "serverPort": "8080",
    "embeddableLaunchScript": false,
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": [],
    "blueprints": []
  },
  "entities": ["Points", "BloodPressure", "Weight", "Preferences"]
}

Entity JDL or JSON files

Versions (please complete the following information):

  • Ignite JHipster Version:
  • ignite doctor output:
System
  platform           darwin
  arch               x64
  cpu                12 cores                 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  directory          mobile-reactive-native   /Users/mraible/dev/mobile-jhipster/mobile-reactive-native

JavaScript
  node               12.13.0      /usr/local/bin/node
  npm                6.14.2       /usr/local/bin/npm
  yarn               1.22.0       /usr/local/bin/yarn

Ignite
  ignite-cli           3.3.1                                                                                     /usr/local/bin/ignite
  ignite src           build                                                                                     /usr/local/lib/node_modules/ignite-cli/build
  name                 HealthPoints
  createdWith          3.3.1
  boilerplate          ignite-jhipster
  jhipsterDirectory    ../backend
  authType             oauth2
  searchEngine         true
  websockets           -
  detox                -
  askToOverwrite       -
  generators           {"entity":"ignite-jhipster","import-jdl":"ignite-jhipster","upgrade":"ignite-jhipster"}
  boilerplateVersion   3.4.0

Android
  java               11.0.5       /Users/mraible/.sdkman/candidates/java/current/bin/java
  android home       -            /Users/mraible/Library/Android/sdk

iOS
  xcode              11.3.1
  cocoapods          1.7.5        /Users/mraible/.rvm/rubies/ruby-2.6.3/bin/pod
@ruddell ruddell closed this as completed in c577a42 Mar 9, 2020
@ruddell
Copy link
Member

ruddell commented Mar 9, 2020

I'm not sure why this new code is needed, but it fixes the issue. Found it several related issues in the react-native-vector-icons repo.

Thanks for reporting the issue, I'll make a new release once CI passes.

@vuongductuanktmt
Copy link

import Icon from 'react-native-vector-icons/MaterialCommunityIcons'
Icon.loadFont()

It can help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants