Skip to content

[Feat]: Why does Yarn install always fail after Git clone #6194

Closed

Description

@zxytt

What is your suggestion?

Why do you want this feature?

Are there any workarounds to get this functionality today?

Are you interested in submitting a PR for this?

Activity

  1. changed the title [-][Feat]: Why cannot I debug projects locally after Git clone?[/-] [+][Feat]: Why does Yarn install always fail after Git clone[/+] on May 8, 2023
  2. code-asher commented on May 8, 2023

    @code-asher
    Member

    Can you provide reproduction steps? What error do you get? It seems unlikely this would be caused by code-server.

  3. added
    waiting-for-infoWaiting for more information from submitter
    and removed
    enhancementSome improvement that isn't a feature
    on May 8, 2023
  4. zxytt commented on May 9, 2023

    @zxytt
    Author

    After the Yarn build is completed, the Yarn watch will start and access the link as shown in
    image
    This package always cannot be built, and occasionally it can.
    image
    After building it, accessing the URL will result in the following error
    image

  5. code-asher commented on May 9, 2023

    @code-asher
    Member

    Ohhh I see! The 404 is because VS Code takes much longer to compile than the web server. You will need to wait for a "Finished compilation" message (there will be two, one for the built-in extensions and another for VS Code itself). We should detect this and show a better error message though.

    The "forbidden" error is because you have not applied the patches to VS Code. https://github.com/coder/code-server/blob/main/docs/CONTRIBUTING.md#troubleshooting

  6. locked and limited conversation to collaborators on May 9, 2023
  7. converted this issue into a discussion #6200 on May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions