{"id":1436,"date":"2022-02-05T09:39:10","date_gmt":"2022-02-05T00:39:10","guid":{"rendered":"https:\/\/suzutukiblog.com\/?p=1436"},"modified":"2022-03-06T18:34:39","modified_gmt":"2022-03-06T09:34:39","slug":"runtimeerror","status":"publish","type":"post","link":"https:\/\/suzutukiblog.com\/index.php\/2022\/02\/05\/runtimeerror\/","title":{"rendered":"ExecJS::RuntimeError in Users#show(\u30a8\u30e9\u30fc\u5bfe\u51e6\u9332)"},"content":{"rendered":"<h3>ExecJS::RuntimeError in Users#show<\/h3>\n<p>Showing \/lifehack\/app\/views\/layouts\/_head.html.erb where line #8 raised:<\/p>\n<p>SyntaxError: [stdin]:5:19: reserved word &#8216;function&#8217;<br \/>\nTrace of template inclusion: app\/views\/layouts\/application.html.erb<\/p>\n<p>\u521d\u3081\u3066\u307f\u305f\u30a8\u30e9\u30fc\u3060\u3063\u305f\u306e\u3067\u8a18\u9332<\/p>\n<h3>\u7d4c\u7def<\/h3>\n<p>JQuery\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30d1\u30fc\u30b7\u30e3\u30eb\u3068\u3057\u3066\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3057\u3088\u3046\u3068\u3057\u305f\u3002<\/p>\n<h3>\u539f\u56e0<\/h3>\n<p>javascripts\/task.coffee\u306b\u9593\u9055\u3048\u3066\u4ee5\u4e0b(JQuery\u306e\u30b9\u30af\u30ea\u30d7\u30c8)\u3092\u8a18\u8ff0\u3057\u305f\u3089\u751f\u3058\u305f\u3002<\/p>\n<pre>&lt;script&gt;\r\n  $(\"span\").click(function () {\r\n  $(\"h3\").toggle(\"slow\");\r\n});\r\n&lt;\/script&gt;<\/pre>\n<h3>\u89e3\u6c7a\u6cd5<\/h3>\n<p>javascripts\/task.coffee\u306e\u2191\u306e\u8a18\u8ff0\u3092\u524a\u9664\u3059\u308b\u3002<\/p>\n<h3>\u88dc\u8db3<\/h3>\n<p>views\/shared\/_script.html.erb\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8a18\u8ff0\u3057\u3066<\/p>\n<pre>&lt;%= render 'shared\/script' %&gt;<\/pre>\n<p>\u3067\u4f7f\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ExecJS::RuntimeError in Users#show Showing \/lifehack\/app\/views\/layouts\/_head.html.erb where line #8 raised: Sy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[27,26],"tags":[],"class_list":["post-1436","post","type-post","status-publish","format-standard","hentry","category-programming-note","category-trouble-shooting"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=1436"}],"version-history":[{"count":3,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1436\/revisions"}],"predecessor-version":[{"id":3843,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1436\/revisions\/3843"}],"wp:attachment":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=1436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=1436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=1436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}