-
Notifications
You must be signed in to change notification settings - Fork 923
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Description
I have an application, where i need to build several static sites from one runtime in series: build after build. But i got a strange behavior. After first build i got second with same output as first, while i have different inputs. I made a simple repo to reproduce error.
Steps to reproduce
git clone https://github.com/MicrowaveDev/vuepress-test.git
cd vuepress-test
npm start
Expected behavior
- After first build: includes "Test 1" in
.vuepress/dist/index.html
content with outputincludes 1: true
in console log - After second build: includes "Test 2" in
.vuepress/dist/index.html
content with outputincludes 2: true
in console log
Logs
START
initialize and prepare
build
⠦ Compiling with vite@vuepress/client doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
✔ Compiling with vite - done
⠋ Rendering pages⠋ Rendering pages /404.html[Vue warn]: App already provides property with key "Symbol(ssrContext)". It will be overwritten with the new value.
[Vue warn]: App already provides property with key "Symbol(ssrContext)". It will be overwritten with the new value.
✔ Rendering pages - done
process onGenerated hook
DONE
includes 1: true
not exists: true
START
initialize and prepare
build
@vuepress/client doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix. (x2)
✔ Compiling with vite - done
⠋ Rendering pages⠋ Rendering pages /404.html[Vue warn]: App already provides property with key "Symbol(ssrContext)". It will be overwritten with the new value.
[Vue warn]: App already provides property with key "Symbol(ssrContext)". It will be overwritten with the new value.
✔ Rendering pages - done
process onGenerated hook
DONE
includes 2: false
Environment info
- Browser: Without browser, only cli
- Output of
vuepress info
:
Environment Info:
System:
OS: Linux 5.13 Ubuntu 20.04.4 LTS (Focal Fossa)
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Binaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.2/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
Browsers:
Chrome: 98.0.4758.102
Firefox: 98.0.1
npmPackages:
@vuepress/core: 2.0.0-beta.36 => 2.0.0-beta.36
@vuepress/theme-default: Not Found
vuepress: Not Found
npmGlobalPackages:
vuepress: Not Found
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working