Cli: react-native link cause error with AntDesign Font with 0.59.0

Created on 21 Mar 2019  路  3Comments  路  Source: react-native-community/cli

$ react-native link react-native-vector-icons
info Linking "react-native-vector-icons" iOS dependency
info iOS module "react-native-vector-icons" has been successfully linked
info Linking "react-native-vector-icons" Android dependency
info Android module "react-native-vector-icons" has been successfully linked
info Linking assets to ios project
warn Group 'Resources' does not exist in your Xcode project. We have created it automatically for you.
info Linking assets to android project
error Something went wrong while linking. Error: ENOENT: no such file or directory, copyfile '/front/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' -> '/front/android/app/src/main/assets/fonts/AntDesign.ttf' 
Please file an issue here: https://github.com/react-native-community/react-native-cli/issues
error ENOENT: no such file or directory, copyfile '/front/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' -> '/front/android/app/src/main/assets/fonts/AntDesign.ttf'

react-native info

  React Native Environment Info:
    System:
      OS: macOS 10.14.1
      CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
      Memory: 159.52 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 11.10.0 - /usr/local/bin/node
      Yarn: 1.13.0 - /usr/local/bin/yarn
      npm: 6.7.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.0 => 0.59.0 
bug

All 3 comments

Please reinstall react-native package. This was fixed already in a patch release of the CLI

Can you explain why it fails? Do you have a link?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jchook picture jchook  路  4Comments

patrickkempff picture patrickkempff  路  4Comments

lucasbento picture lucasbento  路  3Comments

owinter86 picture owinter86  路  3Comments

jacargentina picture jacargentina  路  4Comments