Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

[Bug]: Server Crashing #475

Open
2 of 3 tasks
kelvinkipruto opened this issue Sep 6, 2021 · 0 comments
Open
2 of 3 tasks

[Bug]: Server Crashing #475

kelvinkipruto opened this issue Sep 6, 2021 · 0 comments
Labels
bug Bug reports

Comments

@kelvinkipruto
Copy link

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

  1. Make a fresh installation with release/v1.12.3 and the latest capybara
  2. Add a new page say in pages directory, say Test, and import checkout as a mixin
  3. Add the page to the routes, with path say /test
  4. 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
  • No

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kelvinkipruto kelvinkipruto changed the title [Bug]: [Bug]: Server Crashing Sep 6, 2021
@bloodf bloodf transferred this issue from vuestorefront/vue-storefront Sep 6, 2021
@bloodf bloodf added the bug Bug reports label Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug reports
Projects
None yet
Development

No branches or pull requests

2 participants