Skip to content

Silent Build Error on running pnpm run dev or pnpm run ds after pnpm install (on Windows) #1243

@Yash2004Codes

Description

@Yash2004Codes

Describe the bug

When running pnpm run dev or pnpm run ds on a fresh clone of the repository, the build for @asyncapi/studio-ui fails. The root cause is a dependency race condition where the @asyncapi/studio-ui package attempts to resolve @asyncapi/studio-utils before the latter has been built.On Windows machines, this often results in "silent" errors where the terminal continues but the application remains in a broken state.

How to Reproduce

1.Clone the asyncapi/studio repository.(on windows)
2.Run pnpm install
3. Run pnpm run dev or pnpm run ds
4.Observe the error in the terminal output:

Image Image

Expected behavior

The development commands (npm run dev and npm run ds) should successfully start the application without giving silent build errors.The build pipeline should automatically ensure that internal dependencies like @asyncapi/studio-utils are built before dependent packages like @asyncapi/studio-ui attempt to use them.

If this issue is approved ,I would be happy to fix this and raise PR !

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions