0
私はキーストーンのデフォルトのインストールを実行したと私は見ている私のブラウザでは、私自身のMongoDBkeystone.jsをインストールして実行した後にこのエラーが発生する原因は何ですか?
に接続している以外のファイルのいずれかの変更やりなさい:
は申し訳ありませんが、エラーが(ページのロードが発生します500)
パスは文字列でなければなりません。受信[「テンプレート」、「テンプレート/ビュー」]
`
zerp:keystone-yo asdf$ nodemon
[nodemon] 1.9.2
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node keystone.js`
------------------------------------------------
KeystoneJS Started:
keystone is ready on port 3000
------------------------------------------------
Error thrown for request:/
TypeError: Path must be a string. Received [ 'templates', 'templates/views' ]
at assertPath (path.js:7:11)
at Object.relative (path.js:1228:5)
at ExpressHandlebars.renderView (/Users/asdf/Desktop/keystone-yo/node_modules/express-handlebars/lib/express-handlebars.js:192:43)
at View.render (/Users/asdf/Desktop/keystone-yo/node_modules/express/lib/view.js:126:8)
at tryRender (/Users/asdf/Desktop/keystone-yo/node_modules/express/lib/application.js:639:10)
at EventEmitter.render (/Users/asdf/Desktop/keystone-yo/node_modules/express/lib/application.js:591:3)
at ServerResponse.render (/Users/asdf/Desktop/keystone-yo/node_modules/express/lib/response.js:960:7)
at View.<anonymous> (/Users/asdf/Desktop/keystone-yo/node_modules/keystone/lib/view.js:337:13)
at /Users/asdf/Desktop/keystone-yo/node_modules/keystone/lib/view.js:372:3
at /Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:52:16
at /Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:269:32
at /Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:44:16
at /Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:726:13
at /Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:52:16
at async.forEachOf.async.eachOf (/Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:236:30)
at _parallel (/Users/asdf/Desktop/keystone-yo/node_modules/async/lib/async.js:717:9)
GET/500 12.613 m`
は、タグ同義語です。どこにでも追加する必要はありません。 – Drew
@drewはい、それは我々が同義語のタグを追加するw00t @ – w00t
:-)それsynonymNは作るために票を必要とそうではなかったが不要であり、それはアクティブのトップに格上げ取得する質問を引き起こし、ユーザーは「訴え」それ以外のところでは、私はあなたに知らせるように感じました – Drew