Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

yarn start throws error on \node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53 #243

@MilanLund

Description

@MilanLund

This issue is most likely related to the @redocly/developer-portal package (tried versions 1.1.0-beta.118 and 1.1.0-beta.120) which is the only dependency of this package.

I am following the docs here.

For the first time, I was able to successfully install and run the development server with no issues. However, when I stopped the server and tried to run it once again, I got the following error:

C:\Users\...\redoclydeveloperportal\node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53
        throw ex;
        ^

Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:213:20)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:188:8)
    at emitErrorCloseNT (node:internal/streams/destroy:153:3)
    at processTicksAndRejections (node:internal/process/task_queues:80:21) {
  errno: -4077,
  code: 'ECONNRESET',
  syscall: 'read'
}
error Command failed with exit code 7.

devportal

From what I have tested yarn start starts the development server successfully only once after a computer restart. Every other try ends up with the above-mentioned error.
Running on Windows 10.
I tried to install and run this package on various Node.js versions: 14.15.1, 15.5.1, 16.10.0.
I also tried to run yarn clean, remove the yarn.lock file and the node_modules folder and reinstall everything. No luck at all.

I found out that the issue might be related to the gatsby or gatsby-cli packages. However, I could not find any reliable fix.

So you probably came across this issue and could assist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions