Skip to content

react-native link cause error with AntDesign Font with 0.59.0 #257

@Steffi3rd

Description

@Steffi3rd
$ 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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions