Rendering static HTML...
Rendering page: /contacts.htmlError rendering /contacts.html:
ReferenceError: document is not defined
at server-bundle.js:3431:11
at enhanceApp (server-bundle.js:3455:5)
at createApp (Users/samildasapylov/.config/yarn/global/node_modules/vuepress/lib/app/app.js:81:2)
at module.exports.__webpack_exports__.default (Users/samildasapylov/.config/yarn/global/node_modules/vuepress/lib/app/serverEntry.js:4:26)
at new Promise (<anonymous>)
at module.exports.__webpack_exports__.default (Users/samildasapylov/.config/yarn/global/node_modules/vuepress/lib/app/serverEntry.js:3:26)
at /Users/samildasapylov/.config/yarn/global/node_modules/vue-server-renderer/build.js:8426:15
at new Promise (<anonymous>)
at /Users/samildasapylov/.config/yarn/global/node_modules/vue-server-renderer/build.js:8388:14
at Object.renderToString (/Users/samildasapylov/.config/yarn/global/node_modules/vue-server-renderer/build.js:8564:9)
at renderPage (/Users/samildasapylov/.config/yarn/global/node_modules/vuepress/lib/build.js:143:29)
at build (/Users/samildasapylov/.config/yarn/global/node_modules/vuepress/lib/build.js:66:11)
at <anonymous>
MacBook-Pro-Samil:vpress samildasapylov$ vuepress build
Rendering static HTML...
Rendering page: /contacts.html(node:18595) UnhandledPromiseRejectionWarning: ReferenceError: document is not defined
at /Users/samildasapylov/.config/yarn/global/node_modules/vue-yandex-metrika/dist/vue-yandex-metrika.js:1:8198
at new Promise (<anonymous>)
at new n (/Users/samildasapylov/.config/yarn/global/node_modules/vue-yandex-metrika/dist/vue-yandex-metrika.js:1:1784)
at i (/Users/samildasapylov/.config/yarn/global/node_modules/vue-yandex-metrika/dist/vue-yandex-metrika.js:1:8170)
at a (/Users/samildasapylov/.config/yarn/global/node_modules/vue-yandex-metrika/dist/vue-yandex-metrika.js:1:9968)
at Function.Vue.use (/Users/samildasapylov/.config/yarn/global/node_modules/vue/dist/vue.runtime.common.js:4751:14)
at enhanceApp (server-bundle.js:3429:9)
at createApp (server-bundle.js:3554:3)
at module.exports.__webpack_exports__.default (server-bundle.js:3574:13)
at new Promise (<anonymous>)
at module.exports.__webpack_exports__.default (server-bundle.js:3573:110)
at /Users/samildasapylov/.config/yarn/global/node_modules/vue-server-renderer/build.js:8426:15
at new Promise (<anonymous>)
at /Users/samildasapylov/.config/yarn/global/node_modules/vue-server-renderer/build.js:8388:14
at Object.renderToString (/Users/samildasapylov/.config/yarn/global/node_modules/vue-server-renderer/build.js:8564:9)
at renderPage (/Users/samildasapylov/.config/yarn/global/node_modules/vuepress/lib/build.js:143:29)
(node:18595) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:18595) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Generating service worker...
забыл)
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.
забыл)