-
Notifications
You must be signed in to change notification settings - Fork 12k
Takes a very very long time to install #3086
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
Comments
I'm suffering from long install times on Windows, too. Not 25 minutes, but at least 5 min, which is still pretty darn long! I'm on a 100 Mb/s connection, so I don't think download speed is the issue. Seems to be hanging at the part where it installs NPM packages. |
The CLI will be large because in addition to the Angular 2 framework (https://github.com/angular/angular), we have a lot of extra tooling and "nice-to-haves". Think of it like the Python interpretter vs an entire Python IDE with testing, static analysis, and deployment integration. The CLI provides many features like a live-reload dev server and build system (Webpack + plugins + loaders), testing systems for both Unit tests and E2E, and capabilities to boilerplate your Angular 2 code for you. The installs take a while because there is a long list of dependencies and we pull multiple large projects (Ember-CLI, Webpack, Karma, Protractor, most of lodash, PostCSS, Bluebird, RxJS, UglifyJS, etc.). This dependency list is something the team has stated they're trying to trim down on whenever possible. Open your local The good news? You really shouldn't need to install the entire project often. Yes, the CLI is a bit hefty, but the tools are well worth the extra weight in my opinion. The production output it provides is also very small in comparison. This has also been topic of concern as the builds can sometimes reach 2-3MB with larger projects, but after extensive AoT work, the sizes have been getting smaller and smaller each release. |
Dupe of #1263, we are working on it though. |
It is taking more than 40 mins and its still running for me. |
same for me. I'm around 1h into installing right now. |
The install time for even simple angular projects that we clone from github or bitbucket, is taking way too much time.(>10 mins). |
It also makes my machine to laaag: macOS became unresponsive - no browsers and all small programs could not be opened.... it ain't right.... |
nearly 1 hour passed and it's still installing on Mac |
It is very long time and getting an error even I am using root login! FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Windows 10, i7 2.3ghz quad core
50Mb connection
I understand it's still beta but it took me 25 minutes to get the cli to install itself and generate the first app.
I noticed that this cli takes up 225 MB once installed. This seems a very extreme size for a cli app.
The generated app takes up 240MB which is also really extreme for a basic skeleton.
Would be great if the sizes and install times could be reduced because Installing from npm can suck even on a 50mb connection.
It takes no more than 5mins to download the angular1.zip @ 9MB and then setup a basic app.
I just hope this will eventually be the same for angular 2 :)
The text was updated successfully, but these errors were encountered: