andreypopp / andreypopp/sitegen

First serve step in tutorial doesn't work?

オープン
#21 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
115
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

Step "DEVELOPMENT SERVER" on https://andreypopp.github.io/sitegen/tutorial produces this error:

```
ERROR in ./~/sitegen/lib/loader/boot.js!./sitegen.config.js
Module build failed: Invariant Violation: Unknown route: [object Object]
at invariant (/Users/moshen/code/sitegen-test/node_modules/invariant/invariant.js:42:15)
at RouteCompiler._render (/Users/moshen/code/sitegen-test/node_modules/sitegen/lib/routing/RouteCompiler.js:177:33)
at RouteCompiler.render (/Users/moshen/code/sitegen-test/node_modules/sitegen/lib/routing/RouteCompiler.js:164:19)
at Object.bootLoader (/Users/moshen/code/sitegen-test/node_modules/sitegen/lib/loader/boot.js:51:17)
@ multi main
webpack: bundle is now VALID.
Unhandled rejection Error: Cannot find module "/Users/moshen/code/sitegen-test/node_modules/sitegen/lib/loader/boot.js!/Users/moshen/code/sitegen-test/sitegen.config.js"
at webpackMissingModule (:588:43)
at Object. (:588:217)
at __webpack_require__ (:556:30)
at :579:37
at :582:10
at ContextifyScript.Script.runInContext (vm.js:35:29)
at ContextifyScript.Script.runInNewContext (vm.js:41:15)
at module.exports (/Users/moshen/code/sitegen-test/node_modules/eval/eval.js:62:12)
at evalAsModule (/Users/moshen/code/sitegen-test/node_modules/sitegen/lib/compiler/utils.js:59:29)
at evalBundle (/Users/moshen/code/sitegen-test/node_modules/sitegen/lib/compiler/utils.js:37:12)
```

Yes, `sitegen.config.js` exists in the folder specified.

Running node v6.3.0.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。