You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ yarn add -D vuepress@next
$ echo '# Hello VuePress' > README.md
$ npx vuepress build
wait Extracting site metadata...
tip Apply theme @vuepress/theme-default ...
tip Apply plugin container (i.e. "vuepress-plugin-container") ...
tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ...
tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress") ...
[1:24:57 AM] Compiling Client
[1:24:58 AM] Compiling Server
[1:25:09 AM] Compiled Server in 11s
[1:25:12 AM] Compiled Client in 15s
wait Rendering static HTML...
Rendering page: /error Error rendering /: false
undefined
ReferenceError: window is not defined
at createApp (node_modules/@vuepress/core/lib/client/app.js:65:0)
at Promise (node_modules/@vuepress/core/lib/client/serverEntry.js:4:26)
at new Promise (<anonymous>)
at module.exports.__webpack_exports__.default.context (node_modules/@vuepress/core/lib/client/serverEntry.js:3:15)
at /mnt/e/Temp/vuepress-test/node_modules/vue-server-renderer/build.dev.js:9391:15
at new Promise (<anonymous>)
at /mnt/e/Temp/vuepress-test/node_modules/vue-server-renderer/build.dev.js:9353:14
at Object.renderToString (/mnt/e/Temp/vuepress-test/node_modules/vue-server-renderer/build.dev.js:9529:9)
at Build.renderPage (/mnt/e/Temp/vuepress-test/node_modules/@vuepress/core/lib/node/build/index.js:156:34)
at Build.render (/mnt/e/Temp/vuepress-test/node_modules/@vuepress/core/lib/node/build/index.js:94:33)
Other relevant information
Your OS: Ubuntu on WSL (Windows 10 Pro 1809)
Node.js version: 11.6.0
Browser version: Chrome latest
Is this a global or local install? Local
Which package manager did you use for the install? yarn
Does this issue occur when all plugins are disabled? yes
The text was updated successfully, but these errors were encountered:
ReferenceError: window is not defined
at Object.module.exports.normalMerge (node_modules/vue-context/dist/js/vue-context.js:1:222)
at webpack_require (webpack/bootstrap:25:0)
at Module. (server-bundle.js:28629:19)
at webpack_require (webpack/bootstrap:25:0)
at Module. (server-bundle.js:37162:68)
at webpack_require (webpack/bootstrap:25:0)
at Module. (server-bundle.js:27716:66)
at webpack_require (webpack/bootstrap:25:0)
at Module. (server-bundle.js:100832:18)
at webpack_require (webpack/bootstrap:25:0)
at Object. (server-bundle.js:55802:18)
at webpack_require (webpack/bootstrap:25:0)
at server-bundle.js:118:18
at Object. (server-bundle.js:121:10)
Bug report
Version
vuepress/1.0.0-alpha.45 linux-x64 node-v11.6.0
Steps to reproduce
at empty dir
What is expected?
npx vuepress build
complete successfully.What is actually happening?
npx vuepress build
fails.Other relevant information
The text was updated successfully, but these errors were encountered: