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

[Bug]: Server Crashing #475

Open
Open
@kelvinkipruto

Description

@kelvinkipruto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions