<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tyoshikawa1106</author_name>
  <author_url>https://blog.hatena.ne.jp/tyoshikawa1106/</author_url>
  <blog_title>tyoshikawa1106のブログ</blog_title>
  <blog_url>https://tyoshikawa1106.hatenablog.com/</blog_url>
  <categories>
    <anon>Node.js</anon>
  </categories>
  <description>サンプル動かそうと思ったらreq.flash is not a functionエラーが発生しました。 何が間違っているのかなと検索すると次の解説がありました。 Passport | 認証 次のコマンドでインストールが必要になったみたいです。 $ npm install connect-flash インストール後はserver.js的なファイルでrequireしてapp.useで使えるようにすればいいみたいです。 var flash = require('connect-flash'); app.use(flash());</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftyoshikawa1106.hatenablog.com%2Fentry%2F2016%2F04%2F01%2F091509&quot; title=&quot;Node：req.flash is not a functionエラーが発生したら - tyoshikawa1106のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tyoshikawa1106/20160401/20160401091302.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-01 09:15:09</published>
  <title>Node：req.flash is not a functionエラーが発生したら</title>
  <type>rich</type>
  <url>https://tyoshikawa1106.hatenablog.com/entry/2016/04/01/091509</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
