admin管理员组

文章数量:1429780

How to Solve This Problem in React Native? I used This Command:
react-native link for linking react-native-vector-icons

My Error:

rnpm-install ERR! Something went wrong while linking. Error: Expected "/* Begin ", "/* End ", "\"", or [A-Za-z0-9_.] but "<" found.
Please file an issue here: 

Expected "/* Begin ", "/* End ", "\"", or [A-Za-z0-9_.] but "<" found.

How to Solve This Problem in React Native? I used This Command:
react-native link for linking react-native-vector-icons

My Error:

rnpm-install ERR! Something went wrong while linking. Error: Expected "/* Begin ", "/* End ", "\"", or [A-Za-z0-9_.] but "<" found.
Please file an issue here: https://github./facebook/react-native/issues

Expected "/* Begin ", "/* End ", "\"", or [A-Za-z0-9_.] but "<" found.
Share Improve this question asked Nov 28, 2017 at 7:15 Saeed HeidarizareiSaeed Heidarizarei 8,98623 gold badges66 silver badges111 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 6

For me the solution was in the git lines that added to my info.plist file under ios/projName.

there were merge conflicts which was showing "<<<<<<"

when I resolve them, everything goes well!

PS. Make sure to check all of your changed files. these "<<<<" may be on other files, too!

I edited my Android SDK path in local.properties file and Solved
my path was: sdk.dir = C://Users//USERNAME//AppData//Local//Android//sdk

  • in Windows

    sdk.dir = C:/Users/USERNAME/AppData/Local/Android/sdk

  • in macOS

    sdk.dir = /Users/USERNAME/Library/Android/sdk

  • in linux

    sdk.dir = /home/USERNAME/Android/Sdk

Replace USERNAME with your user name

It means some of your files in the IOS folder has a conflict between ining and what is already there. Go to your IOS folder and click on "accept ining changes"

本文标签: