vue-storefront-1
vue-storefront-1 copied to clipboard
[Bug]: Server Crashing
Describe the Bug
Server crashes when you directly go to a page with checkout as a mixin
Current behavior
The server crashes when you visit any page with checkout imported as a mixin
Expected behavior
The server should not crash
Steps to reproduce
On a fresh installation of release/v1.12.3 and latest capybara
- Make a fresh installation with release/v1.12.3 and the latest capybara
- Add a new page say in pages directory, say Test, and import checkout as a mixin
- Add the page to the routes, with path say /test
- After starting server, visit http://localhost:3000/test
What version of Vue Storefront are you using?
release/v1.12.3
What version of Node.js are you using?
v14.16.0
What browser (and version) are you using?
Chrome
What operating system (and version) are you using?
Windows
Relevant log output
whole request [/test]: 1650ms
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at writeAfterEnd (_http_outgoing.js:668:15)
at ServerResponse.end (_http_outgoing.js:789:7)
at D:\play\commerce\latest\frontpage\core\scripts\server.ts:244:13
at processTicksAndRejections (internal/process/task_queues.js:93:5)
error Command failed with exit code 1.
Able to fix / change the documentation?
- [ ] Yes
- [X] No
Code of Conduct
- [X] I agree to follow this project's Code of Conduct