matthew as a q.

競技プログラミングメイン

react-native

Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style

前提 開発端末: Windows 10 エディタ: Atom(editorconfig対応エディタ) 静的解析: eslint .eslintrc.jsにて設定を書いている どんなエラー? eslintの出す警告 期待する改行コードが"LF"にも関わらず、"CRLF"が改行コードとなっている場合に発生。 解決策 …

How to solve the failure with react-native run-android

Error Message FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:preparePocketsecReactNativeVectorIconsUnspecifiedLibrary'. > Could not expand ZIP '${your_application_path}\node_modules\react-native…

React Nativeをブラウザでデバッグする

前提 Windows 10 Android Emulator上で実行することまではできている(react-native run-androidできること) Google Chromeインストール済み 手順 Chromeで以下にアクセス http://localhost:8081/debugger-ui/ Android Emulator上で「Ctrl + m」→ 「Debug JS …

.jsファイルにJSXを書いても怒られないようにする

なぜやるか React Nativeでは、.jsxを扱えないため、.jsファイルにJSX記法を書く必要がある(2018/1/3現在) 前提 既に、.eslintrc.jsが存在するものとする(つまり、eslint --initは実行済みであること) 手順 .eslintrc.jsを以下のように修正 module.expor…