{"id":1585,"date":"2022-09-03T12:40:34","date_gmt":"2022-09-03T03:40:34","guid":{"rendered":"http:\/\/ts-engine.net\/?p=1585"},"modified":"2022-09-03T12:40:34","modified_gmt":"2022-09-03T03:40:34","slug":"react-native%e3%81%a7%e3%82%88%e3%81%8f%e8%a6%8b%e3%82%8b%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e5%af%be%e5%87%a6","status":"publish","type":"post","link":"http:\/\/ts-engine.net\/?p=1585","title":{"rendered":"React Native\u3067\u3088\u304f\u898b\u308b\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>Invariant Violation: \"main\" has not been registered. This can happen if:\n* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304ccompile\u6642\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3053\u3068\u304c\u500b\u4eba\u7684\u306b\u3088\u304f\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u306e\u901a\u308a\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u305f\u308a\u3001main\u7b87\u6240\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u30b3\u30fc\u30c9\u3092\u5909\u3048\u3066\u3082\u6cbb\u3089\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u81ea\u5206\u304c\u3053\u308c\u3092\u898b\u308b\u3068\u304d\u306f\u3060\u3044\u305f\u3044\u4ed6\u306b\u3069\u3053\u304b\u554f\u984c\u304c\u3042\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3044\u3001\u76f4\u524d\u306ecommit\u5c65\u6b74\u3092\u307f\u3066\u5bfe\u51e6\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">React Native\u306eViewPropTypes\u306edeprecated\u30a8\u30e9\u30fc<\/h2>\n\n\n\n<p>\u81ea\u5206\u306e\u30a2\u30d7\u30ea\u306e\u4e00\u90e8\u306b\u306f\u3001ViewPropTypes\u3092\u4f7f\u3063\u3066\u304a\u308a\u3001\u3053\u308c\u304c\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u81ea\u5206\u306f\u4ee5\u4e0b\u306e\u5bfe\u5fdc\u3092\u3057\u3066\u96e3\u3092\u3057\u306e\u3044\u3060\u3002<\/p>\n\n\n\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u5074\u3067\u5bfe\u5fdc\u3057\u3066\u307b\u3057\u3044\u3068\u3053\u308d\u3067\u3082\u3042\u308b\u304c\u3001\u6642\u9593\u304c\u3042\u3063\u305f\u3089pull request\u3067\u3082\u9001\u3063\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n\/\/ {ViewPropTypes} from \"react-native\";\n\u3053\u306e\u7b87\u6240\u3092\u8ffd\u52a0\nimport { ViewPropTypes } from 'deprecated-react-native-prop-types'<\/code><\/pre>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u5bfe\u5fdc\u3067\u30a8\u30e9\u30fc\u306f\u89e3\u6c7a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304ccompile\u6642\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3053\u3068\u304c\u500b\u4eba\u7684\u306b\u3088\u304f\u3042\u308b\u3002 \u30a8\u30e9\u30fc\u306e\u901a\u308a\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u305f\u308a\u3001main\u7b87\u6240\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u30b3\u30fc\u30c9\u3092\u5909\u3048\u3066\u3082\u6cbb\u3089\u306a\u3044\u3002 \u305d\u306e\u305f\u3081\u3001\u81ea\u5206\u304c\u3053\u308c\u3092\u898b\u308b\u3068\u304d\u306f\u3060\u3044\u305f\u3044\u4ed6\u306b\u3069\u3053\u304b\u554f\u984c\u304c\u3042\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3044\u3001\u76f4\u524d\u306ecommit\u5c65\u6b74\u3092\u307f\u3066\u5bfe\u51e6\u3057\u3066\u3044\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-1585","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts\/1585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1585"}],"version-history":[{"count":0,"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts\/1585\/revisions"}],"wp:attachment":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1585"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}