nodeSolidServer / nodeSolidServer/node-solid-server
Failed to lookup view "/pages/auth" in views directory "/home/devenock/Desktop/Node/authentication/views"
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.8k
- フォーク
- 308
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This happens when i try to refresh my browser after running the server in my Nodejs application.
Error: Failed to lookup view "/pages/auth" in views directory "/home/devenock/Desktop/Node/authentication/views"
at Function.render (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/application.js:580:17)
at ServerResponse.render (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/response.js:1012:7)
at /home/devenock/Desktop/Node/authentication/index.js:16:9
at Layer.handle [as handle_request] (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/layer.js:95:5)
at next (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/layer.js:95:5)
at /home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/index.js:335:12)
at next (/home/devenock/Desktop/Node/authentication/node_modules/express/lib/router/index.js:275:10)
Any quick fix for this.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
index.js:16 から開始し、スタックトレースに示されている Express の response.render 呼び出しを調べます。要求された /pages/auth ビューと、設定されているビューのディレクトリ /home/devenock/Desktop/Node/authentication/views を比較します。failed-to-lookup-view エラーなしでサーバーが更新されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- express, javascript, nodejs
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100