You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "lovepoem (GitHub)" <gi...@apache.org> on 2018/11/18 04:30:33 UTC

[GitHub] [incubator-dubbo-website] lovepoem opened issue #177: run docsite start occurs error

run  `docsite start` occurs error


```javascript
192:dubbo-website wx$ docsite start
/usr/local/lib/node_modules/docsite/lib/generateHTMLFile.js:29
        defaultLanguage: siteConfig.defaultLanguage,
                                    ^

TypeError: Cannot read property 'defaultLanguage' of undefined
    at generateHTMLFile (/usr/local/lib/node_modules/docsite/lib/generateHTMLFile.js:29:37)
    at start (/usr/local/lib/node_modules/docsite/lib/start.js:65:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/docsite/bin/docsite.js:25:5)
    at Module._compile (internal/modules/cjs/loader.js:722:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)
    at startup (internal/bootstrap/node.js:300:19)

```

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] lovepoem closed issue #177: run docsite start occurs error

Posted by "lovepoem (GitHub)" <gi...@apache.org>.
[ issue closed by lovepoem ]

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] lovepoem commented on issue #177: run docsite start occurs error

Posted by "lovepoem (GitHub)" <gi...@apache.org>.
```
node -v
v11.2.0

docsite -V
1.3.2
```

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] purple-force commented on issue #177: run docsite start occurs error

Posted by "purple-force (GitHub)" <gi...@apache.org>.
what are the versions of docsite and nodejs?

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] lovepoem commented on issue #177: run docsite start occurs error

Posted by "lovepoem (GitHub)" <gi...@apache.org>.
I use  `npm restart docsite`

I seems ok now  , the site now startup



[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] lovepoem commented on issue #177: run docsite start occurs error

Posted by "lovepoem (GitHub)" <gi...@apache.org>.
https://github.com/txd-team/docsite/issues/17

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] purple-force commented on issue #177: run docsite start occurs error

Posted by "purple-force (GitHub)" <gi...@apache.org>.
plz downgrade node to 10.x.x and try again.

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/177 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org