LoginSignup
0
1

More than 5 years have passed since last update.

react-native link で正規表現絡みっぽいエラーが出てきた時。

Posted at

仲間が作業終えたファイルのチェックを行おうとpullしてreact-native linkを走らせたら以下のエラー。

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

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

初めは何か特定のpackageが不具合を起こしてるのかと思って、消してはlinkを試してたんだけど、どうやらiosへのlinkができないっぽいことに気づいた。

ググると、xcodeプロジェクトのheader pathがおかしいとか色々でてたので、とりあえずプロジェクトを開こうと。したら、以下のようにでてきてプロジェクト自体ひらけない。

cannot be opened because the project file cannot be parsed.

どうやら、xcodeのプロジェクトファイルで不具合?と思ってぐぐってみると、プロジェクトファイル内でconflictが起きているとこんなことが起こるらしい。

普通に開いて解消した。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1