Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Entomy opened this issue Dec 21, 2019 · 6 comments
Closed
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@Entomy
Copy link

Entomy commented Dec 21, 2019

  • 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.

@mohsinhijazee
Copy link

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.

@kieferrm
Copy link
Member

@chrmarti This could be addressed with.devContainer.json?

@brlebtag
Copy link

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

@Entomy
Copy link
Author

Entomy commented Dec 22, 2019

@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.

@chrmarti
Copy link
Contributor

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).

@chrmarti chrmarti added the info-needed Issue requires more information from poster label Dec 22, 2019
@vscodebot vscodebot bot removed the new release label Dec 23, 2019
@vscodebot vscodebot bot closed this as completed Feb 20, 2020
@vscodebot
Copy link

vscodebot bot commented Feb 20, 2020

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!

@github-actions github-actions bot locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants