Skip to content

Build system overwhelmingly complicated and demanding, with very bad errors #87534

Closed

Description

@Entomy
  • VSCode Version: 1.41.1
  • OS Version: Windows_NT x64 10.0.18362

Steps to Reproduce (per wiki):

  1. Git
    image
  2. Node.JS, x64, version >= 10.x, <= 12.x
    image
  3. Yarn
    image
  4. A C/C++ compiler tool chain for your platform:
    • Select VC++ 2015.3 v14.00 (v140) toolset for desktop on the right hand side
      image
  5. Restart your computer (I can't screenshot this, just take my word that I did)
  6. Warning: Make sure your profile path only contains ASCII letters, e.g. John, otherwise it can lead to node-gyp
    image
  7. Install and build all of the dependencies using Yarn
    image image

Now, I beleive this may be related to #1747, so I follow the solution there.
image

But that still fails with
image

So I go to the page cited in the error message which largely directs me to do what I have already done. It is finding the correct python binary.
image

I have VS2019 installed as well, so I try directing things to use that.
image

One would assume from various documentation here and on related tools that this should not work, and yet actually did work. However at this point about 6.7 additional GB of storage has been used up, which is absolutely unreasonable, as we're getting into video game territory, for just dev tools.

Continuing on with the instructions.
image
image

So my understanding is, everything finally worked. Check filesystem usage and... it's over 15GB at this point. I actually had to find stuff to remove because I've nearly maxed out the drive all of this is happening on. Which brings up a good point, boot drives aren't always massive and all of this being dumped on a single drive with no control can be highly problematic.

image

At this point my system starts to get highly unstable. The developer instance of vs code is finally running, but an additional 1.1GB of storage has been used up, now putting it over 16GB.

Does this issue occur when all extensions are disabled?:
N/A, as this isn't about the editor program, but rather the editor sources/build-system.

The barrier to contributing is extremely high, as there is a remarkable amount of things to install. Most of the requirements are poorly documented or even have out of date documentation, which includes this repo's wiki. Furthermore, the amount of storage required for doing development is rediculous, being the equivalent of 3-4 1080p videos, or many non-AAA games. In fact, the amount of storage space the various required tooling used up exceeds the installation size of the VisualStudio instance that I use regularly. I had to spend over three hours trying to figure things out, because several failures I've encountered within the required tooling had unintelligible errors.

This needs to be simplified, better documented, and trimmed down.

Activity

  1. mohsinhijazee commented on Dec 21, 2019

    @mohsinhijazee

    Tried to do the same on Mac and the setup process is brittle, mainly it is all about luck it seems but I am not sure if it can be simplified given the amount of functionality and features this piece of software offers. What can be done however is a startup check list program to check all the required tools, their versions, libraries (something like flutter doctor) which could be the first step.

  2. kieferrm commented on Dec 21, 2019

    @kieferrm
    Member

    Christof Marti (@chrmarti) This could be addressed with.devContainer.json?

  3. brlebtag commented on Dec 22, 2019

    @brlebtag

    Please remove it immediately and make it your top priority. To me this is almost equally offensive as a swastika.

  4. Entomy commented on Dec 22, 2019

    @Entomy
    Author

    Bruno G. A. Lebtag (@brlebtag) While I understand your concern and partially agree with your frustration, please do not bring this into unrelated issues. There's plenty of issues already related to that. Do not get technical issues locked down or closed for going off topic.

  5. chrmarti commented on Dec 22, 2019

    @chrmarti
    Collaborator

    Using a DevContainer would compile the native modules for Linux and not Windows / Mac, so the result would need to be run in the container (unless you're on Linux). I'm using such a setup with a VNC server running inside the container, but I wouldn't expect that to help here (assuming this is for developing the desktop client, for the web client a DevContainer would make sense).

  6. added
    info-needed
    on Dec 22, 2019
  7. vscodebot commented on Feb 20, 2020

    @vscodebot

    This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

    Happy Coding!

  8. locked and limited conversation to collaborators on Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions